diff options
author | pommicket <pommicket@gmail.com> | 2023-10-19 11:14:39 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-10-19 11:14:39 -0400 |
commit | 94c2b5a926cd7273272fb9fe268dd61c50426c59 (patch) | |
tree | d3a396ddf0e99d7ab1b2b3f955a4b51e5ff0df4e /README.md | |
parent | 69d702f2076930b8cc88c73420fc849eb4b807ce (diff) |
local .ted.cfg
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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\<your user name>\AppData\Local\ted\ted.cfg` on Windows) or move it somewhere else. |