Docs: add missing <a-R> key and fix info message

This commit is contained in:
Delapouite 2017-07-09 12:00:28 +02:00
parent 52c8dc9d09
commit f917402f89
3 changed files with 5 additions and 1 deletions

View File

@ -421,6 +421,7 @@ Changes
* `<a-P>`: paste all before current selection begin, and * `<a-P>`: paste all before current selection begin, and
select each pasted string. select each pasted string.
* `R`: replace current selection with yanked text * `R`: replace current selection with yanked text
* `<a-R>`: replace current selection with every yanked text
* `r`: replace each character with the next entered one * `r`: replace each character with the next entered one

View File

@ -254,6 +254,9 @@ Changes
*R*:: *R*::
replace current selection with yanked text replace current selection with yanked text
*<a-R>*::
replace current selection with every yanked text
*r*:: *r*::
replace each character with the next entered one replace each character with the next entered one

View File

@ -1916,7 +1916,7 @@ const HashMap<Key, NormalCmd> keymap{
{ {alt('p')}, {"paste every yanked selection after selected text", paste_all<InsertMode::Append>} }, { {alt('p')}, {"paste every yanked selection after selected text", paste_all<InsertMode::Append>} },
{ {alt('P')}, {"paste every yanked selection before selected text", paste_all<InsertMode::Insert>} }, { {alt('P')}, {"paste every yanked selection before selected text", paste_all<InsertMode::Insert>} },
{ {'R'}, {"replace selected text with yanked text", paste<InsertMode::Replace>} }, { {'R'}, {"replace selected text with yanked text", paste<InsertMode::Replace>} },
{ {alt('R')}, {"replace selected text with yanked text", paste_all<InsertMode::Replace>} }, { {alt('R')}, {"replace selected text with every yanked text", paste_all<InsertMode::Replace>} },
{ {'s'}, {"select regex matches in selected text", select_regex} }, { {'s'}, {"select regex matches in selected text", select_regex} },
{ {'S'}, {"split selected text on regex matches", split_regex} }, { {'S'}, {"split selected text on regex matches", split_regex} },