diff --git a/README.asciidoc b/README.asciidoc index 9754faeb..64786724 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -421,6 +421,7 @@ Changes * ``: paste all before current selection begin, and select each pasted string. * `R`: replace current selection with yanked text + * ``: replace current selection with every yanked text * `r`: replace each character with the next entered one diff --git a/doc/manpages/keys.asciidoc b/doc/manpages/keys.asciidoc index 6954a028..60a708c1 100644 --- a/doc/manpages/keys.asciidoc +++ b/doc/manpages/keys.asciidoc @@ -254,6 +254,9 @@ Changes *R*:: replace current selection with yanked text +**:: + replace current selection with every yanked text + *r*:: replace each character with the next entered one diff --git a/src/normal.cc b/src/normal.cc index 37b71d10..c068831e 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -1916,7 +1916,7 @@ const HashMap keymap{ { {alt('p')}, {"paste every yanked selection after selected text", paste_all} }, { {alt('P')}, {"paste every yanked selection before selected text", paste_all} }, { {'R'}, {"replace selected text with yanked text", paste} }, - { {alt('R')}, {"replace selected text with yanked text", paste_all} }, + { {alt('R')}, {"replace selected text with every yanked text", paste_all} }, { {'s'}, {"select regex matches in selected text", select_regex} }, { {'S'}, {"split selected text on regex matches", split_regex} },