commit 7ea6d6bbdada4b738187ba54aae45edbd275ae13
parent e4f5848425f1d9a7c52a769f81b130956c3943ed
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 7 Oct 2018 15:44:28 +0200
bindings: in tiny version with help, don't show unfunctional M-◀ and M-▶
The code for recognizing those keystrokes is not present in the tiny
version, so there is no point in binding anything to them.
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/global.c b/src/global.c
@@ -1157,11 +1157,10 @@ void shortcut_init(void)
add_to_sclist(MMOST|MHELP, "\xE2\x96\xb6", KEY_RIGHT, do_right, 0);
add_to_sclist(MSOME, "^\xE2\x97\x80", CONTROL_LEFT, do_prev_word_void, 0);
add_to_sclist(MSOME, "^\xE2\x96\xb6", CONTROL_RIGHT, do_next_word_void, 0);
-#ifdef ENABLE_MULTIBUFFER
+#ifndef NANO_TINY
add_to_sclist(MMAIN, "M-\xE2\x97\x80", ALT_LEFT, switch_to_prev_buffer, 0);
add_to_sclist(MMAIN, "M-\xE2\x96\xb6", ALT_RIGHT, switch_to_next_buffer, 0);
-#endif
-#ifndef NANO_TINY
+
add_to_sclist(MMAIN|MHELP|MBROWSER, "M-\xE2\x96\xb2", ALT_UP, do_findprevious, 0);
add_to_sclist(MMAIN|MHELP|MBROWSER, "M-\xE2\x96\xbc", ALT_DOWN, do_findnext, 0);
#endif