aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorIvan Tham2022-04-29 06:50:01 +0000
committerGitHub2022-04-29 06:50:01 +0000
commitc22873c33fa0163257b1421faa6f91268ad3a4d1 (patch)
treed73cbdce23cb4551deb4175d435d579f8aa3da3a /book
parentab6a00e196832d3a2b942641f914a0c9727129e4 (diff)
Change A-left right to C-left right in insert (#2193)
Currently A-left move one word left and the behavior will be more consistent for people coming GUI world if the key was changed to control given that both browsers and editors like vscode uses C-left right by default to move word rather than alt.
Diffstat (limited to 'book')
-rw-r--r--book/src/keymap.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index 77682a38..9d5d0841 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -296,9 +296,9 @@ undo-able "save point" until you return to normal mode.
| `Ctrl-r` | Insert a register content | `insert_register` |
| `Ctrl-w`, `Alt-Backspace` | Delete previous word | `delete_word_backward` |
| `Alt-d` | Delete next word | `delete_word_forward` |
-| `Alt-b`, `Alt-Left` | Backward a word | `move_prev_word_end` |
+| `Alt-b`, `Ctrl-Left` | Backward a word | `move_prev_word_end` |
| `Ctrl-b`, `Left` | Backward a char | `move_char_left` |
-| `Alt-f`, `Alt-Right` | Forward a word | `move_next_word_start` |
+| `Alt-f`, `Ctrl-Right` | Forward a word | `move_next_word_start` |
| `Ctrl-f`, `Right` | Forward a char | `move_char_right` |
| `Ctrl-e`, `End` | Move to line end | `goto_line_end_newline` |
| `Ctrl-a`, `Home` | Move to line start | `goto_line_start` |