diff options
author | Wojciech Kępka | 2021-06-07 18:28:39 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-06-08 00:50:14 +0000 |
commit | 4bec87ad18de992bae8f3fdbd3c28ccbe237b4b9 (patch) | |
tree | 8e6e37a22971aab0baa7ca014cfdff7d770544c8 | |
parent | c65b4dea099abc7512720e8407b53a3742083039 (diff) |
Update keymap
-rw-r--r-- | book/src/keymap.md | 3 | ||||
-rw-r--r-- | helix-term/src/keymap.rs | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md index 2eddf3b0..705c4ab1 100644 --- a/book/src/keymap.md +++ b/book/src/keymap.md @@ -38,7 +38,8 @@ | Key | Description | |-----|-----------| -| r | replace (single character change) | +| r | replace with a character | +| R | replace with yanked text | | i | Insert before selection | | a | Insert after selection (append) | | I | Insert at the start of the line | diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs index 0324fd04..a6417cfd 100644 --- a/helix-term/src/keymap.rs +++ b/helix-term/src/keymap.rs @@ -11,7 +11,8 @@ use std::collections::HashMap; // W = next WORD // e = end of word // E = end of WORD -// r = +// r = replace +// R = replace with yanked // t = 'till char // y = yank // u = undo |