bindings: allow using '/' to start a search in the help viewer
And allow 'N' for searching the next occurrence. Add the same keystrokes to the file browser too, for consistency.master
parent
b3b3dd5792
commit
ae15fc9bb2
|
@ -490,7 +490,11 @@ functionptrtype parse_browser_input(int *kbinput)
|
|||
return do_enter;
|
||||
case 'W':
|
||||
case 'w':
|
||||
case '/':
|
||||
return do_search;
|
||||
case 'N':
|
||||
case 'n':
|
||||
return do_research;
|
||||
}
|
||||
}
|
||||
return func_from_key(kbinput);
|
||||
|
|
|
@ -574,6 +574,13 @@ functionptrtype parse_help_input(int *kbinput)
|
|||
return do_page_down;
|
||||
case '-':
|
||||
return do_page_up;
|
||||
case 'W':
|
||||
case 'w':
|
||||
case '/':
|
||||
return do_search;
|
||||
case 'N':
|
||||
case 'n':
|
||||
return do_research;
|
||||
case 'E':
|
||||
case 'e':
|
||||
case 'Q':
|
||||
|
|
Loading…
Reference in New Issue