nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 5aa12a2b3d5d170e7f53e63a5dafd60fe0b1d607
parent 2439e1e4516d040d33cb07fad477bdf556efa8be
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Tue, 11 Apr 2017 13:15:00 +0200

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.

Diffstat:
Msrc/global.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 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);