aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorSkyler Hawthorne2022-09-13 06:49:18 +0000
committerGitHub2022-09-13 06:49:18 +0000
commit0d8ffa6b4ae8de827b24df9aaccc4a2e43465d58 (patch)
tree03400091ce72de8e056b4423014e687428241f2c /book
parent16b9a1841ff2d53e855522d24f0749b06ed30186 (diff)
add example config for all removed insert mode bindings (#3827)
Diffstat (limited to 'book')
-rw-r--r--book/src/keymap.md23
1 files changed, 19 insertions, 4 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index da4433f3..5a506ba0 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