commit 8da098f5e0265e88e903a9df27d39af42ce860a4
parent 52d4b9663946d60ed21e31eca4b1fca325fb0b84
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 31 Oct 2021 10:50:02 +0100
help: group the now lone mouse toggle with the "behavioral" ones
Diffstat:
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/global.c b/src/global.c
@@ -1366,7 +1366,7 @@ void shortcut_init(void)
add_to_sclist(MMAIN, "M-Y", 0, do_toggle_void, NO_SYNTAX);
#endif
- /* Group of "Editing-behavior" toggles. */
+ /* Group of "Behavior" toggles. */
add_to_sclist(MMAIN, "M-H", 0, do_toggle_void, SMART_HOME);
add_to_sclist(MMAIN, "M-I", 0, do_toggle_void, AUTOINDENT);
add_to_sclist(MMAIN, "M-K", 0, do_toggle_void, CUT_FROM_CURSOR);
@@ -1374,8 +1374,6 @@ void shortcut_init(void)
add_to_sclist(MMAIN, "M-L", 0, do_toggle_void, BREAK_LONG_LINES);
#endif
add_to_sclist(MMAIN, "M-O", 0, do_toggle_void, TABS_TO_SPACES);
-
- /* Group of "Peripheral-feature" toggles. */
#ifdef ENABLE_MOUSE
add_to_sclist(MMAIN, "M-M", 0, do_toggle_void, USE_MOUSE);
#endif
diff --git a/src/help.c b/src/help.c
@@ -304,7 +304,8 @@ void help_init(void)
if (s->toggle && s->ordinal == counter) {
ptr += sprintf(ptr, "%s\t\t %s %s\n", (s->menus & MMAIN ? s->keystr : ""),
_(flagtostr(s->toggle)), _("enable/disable"));
- if (s->toggle == NO_SYNTAX || s->toggle == TABS_TO_SPACES)
+ /* Add a blank like between two groups. */
+ if (s->toggle == NO_SYNTAX)
ptr += sprintf(ptr, "\n");
break;
}