summaryrefslogtreecommitdiff
path: root/ted.cfg
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-09-08 22:59:47 -0400
committerpommicket <pommicket@gmail.com>2023-09-08 22:59:47 -0400
commit0dcfd5a4f1fd865c24c01b17b214e1f72e4c06fe (patch)
treed693d70a57713cf4dbe48d30159100bab279c77d /ted.cfg
parentf86b0aa1e843646056c08a91fcc759aa0d8a57ba (diff)
LSP code formatting (not entirely working yet)
Diffstat (limited to 'ted.cfg')
-rw-r--r--ted.cfg7
1 files changed, 7 insertions, 0 deletions
diff --git a/ted.cfg b/ted.cfg
index 6b9aaf7..dd36a1f 100644
--- a/ted.cfg
+++ b/ted.cfg
@@ -334,6 +334,13 @@ Ctrl+x = :cut
Ctrl+v = :paste
Ctrl+Shift+p = :command-selector
+# use cargo fmt or clang-tidy or whatever the LSP server
+# decides to use to format the current selection/file.
+# by default no keybinding is set so you don't accidentally
+# format a whole file.
+# Ctrl+Alt+f = :format-selection
+# Ctrl+Alt+Shift+f = :format-file
+
Ctrl+9 = :decrement-number
Ctrl+0 = :increment-number