add alt-n commands to (replace|append) previous match
Note: alt-n command were used to replace main selection with next match (preserving the others)
This commit is contained in:
parent
e51223e8e5
commit
581dc59fb8
|
@ -145,7 +145,8 @@ Basic Movement
|
||||||
* _?_: search (extend to next match)
|
* _?_: search (extend to next match)
|
||||||
* _n_: select next match
|
* _n_: select next match
|
||||||
* _N_: add a new selection with next match
|
* _N_: add a new selection with next match
|
||||||
* _alt-n_: replace main selection with next match (preserving the others)
|
* _alt-n_: select previous match
|
||||||
|
* _alt-N_: add a new selection with previous match
|
||||||
|
|
||||||
* _pageup_: scroll up
|
* _pageup_: scroll up
|
||||||
* _pagedown_: scroll down
|
* _pagedown_: scroll down
|
||||||
|
|
|
@ -1319,8 +1319,9 @@ KeyMap keymap =
|
||||||
{ alt('/'), search<SelectMode::Replace, Backward> },
|
{ alt('/'), search<SelectMode::Replace, Backward> },
|
||||||
{ alt('?'), search<SelectMode::Extend, Backward> },
|
{ alt('?'), search<SelectMode::Extend, Backward> },
|
||||||
{ 'n', search_next<SelectMode::Replace, Forward> },
|
{ 'n', search_next<SelectMode::Replace, Forward> },
|
||||||
{ alt('n'), search_next<SelectMode::ReplaceMain, Forward> },
|
|
||||||
{ 'N', search_next<SelectMode::Append, Forward> },
|
{ 'N', search_next<SelectMode::Append, Forward> },
|
||||||
|
{ alt('n'), search_next<SelectMode::Replace, Backward> },
|
||||||
|
{ alt('N'), search_next<SelectMode::Append, Backward> },
|
||||||
{ '*', use_selection_as_search_pattern<true> },
|
{ '*', use_selection_as_search_pattern<true> },
|
||||||
{ alt('*'), use_selection_as_search_pattern<false> },
|
{ alt('*'), use_selection_as_search_pattern<false> },
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user