From 94c2b5a926cd7273272fb9fe268dd61c50426c59 Mon Sep 17 00:00:00 2001 From: pommicket Date: Thu, 19 Oct 2023 11:14:39 -0400 Subject: local .ted.cfg --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index e6379ab..3d32f41 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ You can also include files with `%include` (note: the included file must start w By default ted's settings will automatically update when you save the config file. The `core` section's settings should be pretty familiar (font size, etc.) or should have comments on the previous line -explaining what they do. +explaining what they do. `yes`, `on`, and `true` are all synonyms, as are `no`, `off`, and `false`. Keyboard shortcuts are of the form `key combo = action`, where `action` is an argument (number or string), followed by a command. The commands match the things in the command palette (Ctrl+Shift+p), but `:` is added to the beginning to make @@ -110,6 +110,11 @@ tab-width = 17 tab-width = 9 ``` +or put a file called `.ted.cfg` in any directory to have settings apply to files in that directory. + +ted reads [.editorconfig](https://editorconfig.org) files automatically. you can override them by putting `.ted.cfg` +with the settings you want in the same directory. + To reset your ted configuration to the default settings, delete your ted.cfg file (`~/.local/share/ted/ted.cfg` on Linux, `C:\Users\\AppData\Local\ted\ted.cfg` on Windows) or move it somewhere else. -- cgit v1.2.3