aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojciech Kępka2021-06-07 18:28:39 +0000
committerBlaž Hrastnik2021-06-08 00:50:14 +0000
commit4bec87ad18de992bae8f3fdbd3c28ccbe237b4b9 (patch)
tree8e6e37a22971aab0baa7ca014cfdff7d770544c8
parentc65b4dea099abc7512720e8407b53a3742083039 (diff)
Update keymap
-rw-r--r--book/src/keymap.md3
-rw-r--r--helix-term/src/keymap.rs3
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