nano

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

commit bf00e3f60664d43eeba01f9c395a74318f21c63e
parent 23ae7bfbbf41bcb878157fdcc15850227bdd6abd
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Fri,  7 Apr 2017 20:00:44 +0200

tweaks: put M-A before ^6, to look better above M-6 in the help lines

Also, M-A is far more mnemonic for setting the mark than ^6 or ^^,
so it's better to try and teach the user that.

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

diff --git a/src/global.c b/src/global.c @@ -1088,10 +1088,10 @@ void shortcut_init(void) add_to_sclist(MMAIN|MBROWSER, "F16", 0, do_research, 0); #ifndef NANO_TINY add_to_sclist(MMAIN, "M-]", 0, do_find_bracket, 0); - add_to_sclist(MMAIN, "^6", 0, do_mark, 0); add_to_sclist(MMAIN, "M-A", 0, do_mark, 0); - add_to_sclist(MMAIN, "F15", 0, do_mark, 0); + add_to_sclist(MMAIN, "^6", 0, do_mark, 0); add_to_sclist(MMAIN, "^^", 0, do_mark, 0); + add_to_sclist(MMAIN, "F15", 0, do_mark, 0); add_to_sclist(MMAIN, "M-6", 0, do_copy_text, 0); add_to_sclist(MMAIN, "M-^", 0, do_copy_text, 0); add_to_sclist(MMAIN, "M-}", 0, do_indent_void, 0);