From 0d8ffa6b4ae8de827b24df9aaccc4a2e43465d58 Mon Sep 17 00:00:00 2001 From: Skyler Hawthorne Date: Tue, 13 Sep 2022 02:49:18 -0400 Subject: [PATCH] add example config for all removed insert mode bindings (#3827) --- book/src/keymap.md | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/book/src/keymap.md b/book/src/keymap.md index da4433f3db44..5a506ba03dd7 100644 --- a/book/src/keymap.md +++ b/book/src/keymap.md @@ -341,10 +341,25 @@ mode: ```toml [keys.insert] -up = "move_line_up" -down = "move_line_down" -left = "move_char_left" -right = "move_char_right" +"up" = "move_line_up" +"down" = "move_line_down" +"left" = "move_char_left" +"right" = "move_char_right" +"C-b" = "move_char_left" +"C-f" = "move_char_right" +"A-b" = "move_prev_word_end" +"C-left" = "move_prev_word_end" +"A-f" = "move_next_word_start" +"C-right" = "move_next_word_start" +"A-<" = "goto_file_start" +"A->" = "goto_file_end" +"pageup" = "page_up" +"pagedown" = "page_down" +"home" = "goto_line_start" +"C-a" = "goto_line_start" +"end" = "goto_line_end_newline" +"C-e" = "goto_line_end_newline" +"A-left" = "goto_line_start" ``` ## Select / extend mode