From 4bec87ad18de992bae8f3fdbd3c28ccbe237b4b9 Mon Sep 17 00:00:00 2001 From: Wojciech Kępka Date: Mon, 7 Jun 2021 20:28:39 +0200 Subject: Update keymap --- book/src/keymap.md | 3 ++- 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 -- cgit v1.2.3-70-g09d2