help: pull "Older" and "Newer" into view on an 80-column terminal
The ^P and ^N keystrokes for Older and Newer are relevant to searching and should be visible in the help lines. FullJustify, paragraph jumps, and top/tail jumping are there only for compatibility with Pico but don't make any sense there, so it's no problem if they are pushed out of view.master
parent
f442f91187
commit
c43177487a
12
src/global.c
12
src/global.c
|
@ -817,6 +817,12 @@ void shortcut_init(void)
|
||||||
add_to_funcs(flip_replace, MREPLACE,
|
add_to_funcs(flip_replace, MREPLACE,
|
||||||
N_("No Replace"), WITHORSANS(whereis_gist), BLANKAFTER, VIEW);
|
N_("No Replace"), WITHORSANS(whereis_gist), BLANKAFTER, VIEW);
|
||||||
|
|
||||||
|
#ifdef ENABLE_HISTORIES
|
||||||
|
add_to_funcs(get_history_older_void, MWHEREIS|MREPLACE|MREPLACEWITH|MWHEREISFILE,
|
||||||
|
N_("Older"), WITHORSANS(older_gist), TOGETHER, VIEW);
|
||||||
|
add_to_funcs(get_history_newer_void, MWHEREIS|MREPLACE|MREPLACEWITH|MWHEREISFILE,
|
||||||
|
N_("Newer"), WITHORSANS(newer_gist), BLANKAFTER, VIEW);
|
||||||
|
#endif
|
||||||
#ifdef ENABLE_JUSTIFY
|
#ifdef ENABLE_JUSTIFY
|
||||||
add_to_funcs(do_full_justify, MWHEREIS,
|
add_to_funcs(do_full_justify, MWHEREIS,
|
||||||
N_("FullJstify"), WITHORSANS(fulljustify_gist), TOGETHER, NOVIEW);
|
N_("FullJstify"), WITHORSANS(fulljustify_gist), TOGETHER, NOVIEW);
|
||||||
|
@ -988,12 +994,6 @@ void shortcut_init(void)
|
||||||
add_to_funcs(do_savefile, MMAIN,
|
add_to_funcs(do_savefile, MMAIN,
|
||||||
N_("Save"), WITHORSANS(savefile_gist), BLANKAFTER, NOVIEW);
|
N_("Save"), WITHORSANS(savefile_gist), BLANKAFTER, NOVIEW);
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_HISTORIES
|
|
||||||
add_to_funcs(get_history_older_void, MWHEREIS|MREPLACE|MREPLACEWITH|MWHEREISFILE,
|
|
||||||
N_("Older"), WITHORSANS(older_gist), TOGETHER, VIEW);
|
|
||||||
add_to_funcs(get_history_newer_void, MWHEREIS|MREPLACE|MREPLACEWITH|MWHEREISFILE,
|
|
||||||
N_("Newer"), WITHORSANS(newer_gist), BLANKAFTER, VIEW);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef ENABLE_JUSTIFY
|
#ifndef ENABLE_JUSTIFY
|
||||||
add_to_funcs(flip_goto, MWHEREIS,
|
add_to_funcs(flip_goto, MWHEREIS,
|
||||||
|
|
Loading…
Reference in New Issue