Merge remote-tracking branch 'alexherbo2/previous-match'
This commit is contained in:
commit
a61db7ef5e
|
@ -142,7 +142,8 @@ Basic Movement
|
|||
* _?_: search (extend to next match)
|
||||
* _n_: select 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
|
||||
* _pagedown_: scroll down
|
||||
|
|
|
@ -1332,8 +1332,9 @@ KeyMap keymap =
|
|||
{ alt('/'), search<SelectMode::Replace, Backward> },
|
||||
{ alt('?'), search<SelectMode::Extend, Backward> },
|
||||
{ 'n', search_next<SelectMode::Replace, Forward> },
|
||||
{ alt('n'), search_next<SelectMode::ReplaceMain, 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> },
|
||||
{ alt('*'), use_selection_as_search_pattern<false> },
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user