From 5aa12a2b3d5d170e7f53e63a5dafd60fe0b1d607 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 11 Apr 2017 13:15:00 +0200 Subject: [PATCH] tweaks: group ^D and ^H together in the help lines This also groups ^I and ^M together, and cutwordleft and cutwordright (when they are bound). It furthermore makes that less pairs are now mixed and instead consist of either two Ctrl or two Meta combos. In short: it looks better in the default config. The only sacrifice is that Verbatim is now split off from the other "inserting" keys. --- src/global.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/global.c b/src/global.c index 858a78ed..c684a512 100644 --- a/src/global.c +++ b/src/global.c @@ -872,9 +872,6 @@ void shortcut_init(void) whereis_next_tag, IFSCHELP(nano_whereis_next_msg), TOGETHER, VIEW); #endif - add_to_funcs(do_verbatim_input, MMAIN, - N_("Verbatim"), IFSCHELP(nano_verbatim_msg), TOGETHER, NOVIEW); - add_to_funcs(do_tab, MMAIN, N_("Tab"), IFSCHELP(nano_tab_msg), TOGETHER, NOVIEW); add_to_funcs(do_enter, MMAIN, @@ -911,6 +908,9 @@ void shortcut_init(void) N_("Word Count"), IFSCHELP(nano_wordcount_msg), TOGETHER, VIEW); #endif + add_to_funcs(do_verbatim_input, MMAIN, + N_("Verbatim"), IFSCHELP(nano_verbatim_msg), BLANKAFTER, NOVIEW); + add_to_funcs(total_refresh, MMAIN, refresh_tag, IFSCHELP(nano_refresh_msg), TOGETHER, VIEW);