aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorMichael Davis2022-10-03 15:05:08 +0000
committerGitHub2022-10-03 15:05:08 +0000
commitdbec057363201d6c4aa2e7258cac928e5ebb6a28 (patch)
treeb3a5e8ce8e70470f67af899f7554b094c9532b8a /book
parent772af7ffb1d3a4ae22505693ae803c8d852336f3 (diff)
Rename I/A "Insert at start/end of line" (#3753)
* keymap: Rename A "Insert at end of line" The language for the `A` binding is potentially confusing because `A` behaves like `i` done at the end of the line rather than `a`. This change renames the command to match Kakoune's language[^1]. [^1]: https://github.com/mawww/kakoune/blob/021da117cf90bf25b65e3344fa8e43ab4262b714/src/normal.cc#L2229 * keymap: Rename I `insert_at_line_start`
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 a47f20f3..905d3acb 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -68,8 +68,8 @@
| `` Alt-` `` | Set the selected text to upper case | `switch_to_uppercase` |
| `i` | Insert before selection | `insert_mode` |
| `a` | Insert after selection (append) | `append_mode` |
-| `I` | Insert at the start of the line | `prepend_to_line` |
-| `A` | Insert at the end of the line | `append_to_line` |
+| `I` | Insert at the start of the line | `insert_at_line_start` |
+| `A` | Insert at the end of the line | `insert_at_line_end` |
| `o` | Open new line below selection | `open_below` |
| `O` | Open new line above selection | `open_above` |
| `.` | Repeat last insert | N/A |