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.
master
Benno Schulenberg 2018-10-07 15:44:28 +02:00
parent e4f5848425
commit 7ea6d6bbda
1 changed files with 2 additions and 3 deletions

View File

@ -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