aboutsummaryrefslogtreecommitdiff
path: root/book/src/remapping.md
diff options
context:
space:
mode:
Diffstat (limited to 'book/src/remapping.md')
-rw-r--r--book/src/remapping.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/book/src/remapping.md b/book/src/remapping.md
index b4f4005b..3f25e364 100644
--- a/book/src/remapping.md
+++ b/book/src/remapping.md
@@ -13,10 +13,12 @@ this:
[keys.normal]
a = "move_char_left" # Maps the 'a' key to the move_char_left command
w = "move_line_up" # Maps the 'w' key move_line_up
-C-S-esc = "extend_line" # Maps Control-Shift-Escape to extend_line
+"C-S-esc" = "extend_line" # Maps Control-Shift-Escape to extend_line
+g = { a = "code_action" } # Maps `ga` to show possible code actions
[keys.insert]
-A-x = "normal_mode" # Maps Alt-X to enter normal mode
+"A-x" = "normal_mode" # Maps Alt-X to enter normal mode
+j = { k = "normal_mode" } # Maps `jk` to exit insert mode
```
Control, Shift and Alt modifiers are encoded respectively with the prefixes