diff --git a/doc/nano.texi b/doc/nano.texi index e30be8b0..2f442645 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -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). diff --git a/doc/nanorc.5 b/doc/nanorc.5 index 1a27be47..143fe921 100644 --- a/doc/nanorc.5 +++ b/doc/nanorc.5 @@ -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 diff --git a/src/global.c b/src/global.c index 578b6784..6a51f4fc 100644 --- a/src/global.c +++ b/src/global.c @@ -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")) diff --git a/src/nano.c b/src/nano.c index e891f7b5..9b5ee8aa 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1391,7 +1391,6 @@ void do_toggle(int flag) mouse_init(); break; #endif - case MORE_SPACE: case NO_HELP: window_init(); focusing = FALSE;