summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-10-19 11:14:39 -0400
committerpommicket <pommicket@gmail.com>2023-10-19 11:14:39 -0400
commit94c2b5a926cd7273272fb9fe268dd61c50426c59 (patch)
treed3a396ddf0e99d7ab1b2b3f955a4b51e5ff0df4e /README.md
parent69d702f2076930b8cc88c73420fc849eb4b807ce (diff)
local .ted.cfg
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 6 insertions, 1 deletions
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\<your user name>\AppData\Local\ted\ted.cfg` on Windows) or move it somewhere else.