Merge remote-tracking branch 'Delapouite/alt-r'
This commit is contained in:
commit
c38dc9a37b
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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} },
|
||||||
|
|
Loading…
Reference in New Issue
Block a user