From 7ea6d6bbdada4b738187ba54aae45edbd275ae13 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 7 Oct 2018 15:44:28 +0200 Subject: [PATCH] =?UTF-8?q?bindings:=20in=20tiny=20version=20with=20help,?= =?UTF-8?q?=20don't=20show=20unfunctional=20M-=E2=97=80=20and=20M-?= =?UTF-8?q?=E2=96=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The code for recognizing those keystrokes is not present in the tiny version, so there is no point in binding anything to them. --- src/global.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/global.c b/src/global.c index 67c13764..a19b0db2 100644 --- 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