summaryrefslogtreecommitdiff
path: root/ted.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'ted.cfg')
-rw-r--r--ted.cfg18
1 files changed, 17 insertions, 1 deletions
diff --git a/ted.cfg b/ted.cfg
index bad356e..87b1c95 100644
--- a/ted.cfg
+++ b/ted.cfg
@@ -94,6 +94,22 @@ Ctrl+Shift+s = :save-as
Ctrl+q = :quit
Ctrl+Shift+r = :reload-all
+# You can do something like this:
+# Ctrl+Alt+t = 3 :set-language
+# to set the language of the current buffer to Rust, for example. This might be useful if
+# one file extension could be multiple different languages.
+# Here are the numbers corresponding to each language we have syntax highlighting for:
+# 0 Plain text (no syntax highlighting)
+# 1 C
+# 2 C++
+# 3 Rust
+# 4 Python
+# 5 TeX
+# 6 Markdown
+# 7 HTML
+# 8 Config (e.g. ted.cfg)
+# -1 Guess from the file extension (default)
+
Ctrl+Space = :autocomplete
# go to previous completion
Ctrl+Shift+Space = :autocomplete-back
@@ -209,5 +225,5 @@ Rust = .rs
Python = .py
Tex = .tex
Markdown = .md
-HTML = .html, .php
+HTML = .html, .php, .xml, .xhtml
Config = .cfg