From b59b2485613089595522377c87a392c859ee31a0 Mon Sep 17 00:00:00 2001 From: Gokul Soumya Date: Wed, 18 Aug 2021 06:23:50 +0530 Subject: Add docs for registers, multi key remaps (#557) --- book/src/remapping.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'book/src/remapping.md') 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 -- cgit v1.2.3-70-g09d2