summaryrefslogtreecommitdiff
path: root/ted.cfg
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-01 12:33:27 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-01 12:33:27 -0500
commit11b50663dc489b7ec8cb1c8774d9bda2c7acac3b (patch)
treeaa604b767286c86b21b6fef851f0c74e8dfc0acb /ted.cfg
parentdba51f5c1b7ac895239d2909358b323a92b77644 (diff)
full C syntax highlighting
Diffstat (limited to 'ted.cfg')
-rw-r--r--ted.cfg7
1 files changed, 6 insertions, 1 deletions
diff --git a/ted.cfg b/ted.cfg
index b981cd6..d2e7d49 100644
--- a/ted.cfg
+++ b/ted.cfg
@@ -55,9 +55,13 @@ Keypad Enter = :newline
# deletion
Delete = :delete
+Shift+Delete = :delete
Ctrl+Delete = :delete-word
+Ctrl+Shift+Delete = :delete-word
Backspace = :backspace
+Shift+Backspace = :backspace
Ctrl+Backspace = :backspace-word
+Ctrl+Shift+Backspace = :backspace-word
# scrolling
PageUp = :page-up
@@ -126,9 +130,10 @@ yes = #afa
no = #faa
cancel = #ffa
+# Syntax highlighting
keyword = #0c0
preprocessor = #77f
string = #f77
character = #a7f
comment = #777
-number = #8ff
+constant = #8ff