1
1

bindings: remove the More-Space toggle entirely

It is so unlikely that a user will want to bind it that it
just clutters the help text (and the documentation).
Этот коммит содержится в:
Benno Schulenberg 2018-08-19 13:49:10 +02:00
родитель 772c324f25
Коммит 63b15275bd
4 изменённых файлов: 0 добавлений и 12 удалений

Просмотреть файл

@ -1377,9 +1377,6 @@ Toggles the presence of the two-line list of key bindings at the bottom of the s
Toggles the constant display of the current line, column, and character positions.
(The form @code{constupdate} is deprecated.)
@item morespace
Toggles the presence of the blank line that 'separates' the title bar from the file text.
@item smoothscroll
Toggles smooth scrolling (when moving around with the arrow keys).

Просмотреть файл

@ -740,9 +740,6 @@ Toggles the presence of the two-line list of key bindings at the bottom of the s
Toggles the constant display of the current line, column, and character positions.
(The form 'constupdate' is deprecated.)
.TP
.B morespace
Toggles the presence of the blank line that 'separates' the title bar from the file text.
.TP
.B smoothscroll
Toggles smooth scrolling (when moving around with the arrow keys).
.TP

Просмотреть файл

@ -1234,7 +1234,6 @@ void shortcut_init(void)
/* Group of "Appearance" toggles. */
add_to_sclist(MMAIN, "M-X", 0, do_toggle_void, NO_HELP);
add_to_sclist(MMAIN, "M-C", 0, do_toggle_void, CONSTANT_SHOW);
add_to_sclist(MMAIN, "", 0, do_toggle_void, MORE_SPACE);
add_to_sclist(MMAIN, "M-S", 0, do_toggle_void, SMOOTH_SCROLL);
add_to_sclist(MMAIN, "M-$", 0, do_toggle_void, SOFTWRAP);
#ifdef ENABLE_LINENUMBERS
@ -1389,8 +1388,6 @@ const char *flagtostr(int flag)
return N_("Help mode");
case CONSTANT_SHOW:
return N_("Constant cursor position display");
case MORE_SPACE:
return N_("Use of one more line for editing");
case SMOOTH_SCROLL:
return N_("Smooth scrolling");
case SOFTWRAP:
@ -1644,8 +1641,6 @@ sc *strtosc(const char *input)
else if (!strcasecmp(input, "constantshow") ||
!strcasecmp(input, "constupdate")) /* Deprecated. Remove end of 2018. */
s->toggle = CONSTANT_SHOW;
else if (!strcasecmp(input, "morespace"))
s->toggle = MORE_SPACE;
else if (!strcasecmp(input, "smoothscroll"))
s->toggle = SMOOTH_SCROLL;
else if (!strcasecmp(input, "softwrap"))

Просмотреть файл

@ -1391,7 +1391,6 @@ void do_toggle(int flag)
mouse_init();
break;
#endif
case MORE_SPACE:
case NO_HELP:
window_init();
focusing = FALSE;