commit 6b5aff48780d6e87127e5d2a0347c5cbaa9366f9
parent fb534bada65af8d7509612c492b6fdec4243a980
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Tue, 4 Apr 2017 20:34:06 +0200
tweaks: put unshifted shortcuts ^6 and M-6 first, instead of ^^ and M-^
The unshifted shortcuts are easier to type, and also less confusing in
my eyes. Putting them first means they get shown in the help lines,
and get listed first in the ^G help text.
(I would also like to put ^- first instead of ^_ (because the latter
is hard to see when using the default inverse video for shortcuts),
but on several terminal emulators Ctrl+- reduces the font size.)
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/global.c b/src/global.c
@@ -1085,11 +1085,12 @@ 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, "^^", 0, do_mark, 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, "M-^", 0, do_copy_text, 0);
+ add_to_sclist(MMAIN, "^^", 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);
add_to_sclist(MMAIN, "M-{", 0, do_unindent, 0);
add_to_sclist(MMAIN, "M-U", 0, do_undo, 0);