mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-03 01:47:49 +03:00
bindings: make "n" work again in file browser and help viewer
Also, "N" shouldn't be a synonym of "n" in tiny mode.
This commit is contained in:
parent
54a4123d4c
commit
9c8e40b442
@ -486,11 +486,9 @@ functionptrtype parse_browser_input(int *kbinput)
|
||||
case '/':
|
||||
return do_search_forward;
|
||||
case 'N':
|
||||
#ifndef NANO_TINY
|
||||
return do_findprevious;
|
||||
#endif
|
||||
case 'n':
|
||||
return do_research;
|
||||
return do_findnext;
|
||||
}
|
||||
}
|
||||
return func_from_key(kbinput);
|
||||
|
@ -583,11 +583,9 @@ functionptrtype parse_help_input(int *kbinput)
|
||||
case '/':
|
||||
return do_search_forward;
|
||||
case 'N':
|
||||
#ifndef NANO_TINY
|
||||
return do_findprevious;
|
||||
#endif
|
||||
case 'n':
|
||||
return do_research;
|
||||
return do_findnext;
|
||||
case 'E':
|
||||
case 'e':
|
||||
case 'Q':
|
||||
|
@ -486,7 +486,6 @@ int findnextstr(const char *needle, bool whole_word_only, int modus,
|
||||
void do_search(void);
|
||||
void do_search_forward(void);
|
||||
void do_search_backward(void);
|
||||
void do_research(void);
|
||||
void do_findprevious(void);
|
||||
void do_findnext(void);
|
||||
void not_found_msg(const char *str);
|
||||
|
Loading…
Reference in New Issue
Block a user