From d249233ea7761451ebf10d2041ea001a30b5c1b6 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 31 Jul 2018 20:03:25 +0200 Subject: [PATCH] bindings: unassign the M-? keystroke, to free it up for future use There are at least three other ways to achieve the thing that it did: ^End, M-/, and ^W^V. No need to have a fourth way by default. For symmetry, also unassign the corresponding binding for M-|. --- src/global.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/global.c b/src/global.c index de5dcd9d..ee37b3da 100644 --- a/src/global.c +++ b/src/global.c @@ -1116,7 +1116,6 @@ void shortcut_init(void) add_to_sclist(MMAIN|MHELP, "^Home", CONTROL_HOME, to_first_line, 0); add_to_sclist(MMAIN|MHELP, "M-/", 0, to_last_line, 0); add_to_sclist(MMAIN|MHELP, "^End", CONTROL_END, to_last_line, 0); - add_to_sclist(MMAIN|MHELP, "M-?", 0, to_last_line, 0); add_to_sclist(MMAIN|MHELP|MBROWSER, "M-W", 0, do_findnext, 0); add_to_sclist(MMAIN|MHELP|MBROWSER, "M-Q", 0, do_findprevious, 0); #ifndef NANO_TINY @@ -1291,8 +1290,6 @@ void shortcut_init(void) add_to_sclist(MBROWSER|MWHEREISFILE, "M-/", 0, to_last_file, 0); add_to_sclist(MBROWSER, "Home", KEY_HOME, to_first_file, 0); add_to_sclist(MBROWSER, "End", KEY_END, to_last_file, 0); - add_to_sclist(MBROWSER|MWHEREISFILE, "M-|", 0, to_first_file, 0); - add_to_sclist(MBROWSER|MWHEREISFILE, "M-?", 0, to_last_file, 0); add_to_sclist(MBROWSER, "^Home", CONTROL_HOME, to_first_file, 0); add_to_sclist(MBROWSER, "^End", CONTROL_END, to_last_file, 0); add_to_sclist(MBROWSER, "^_", 0, goto_dir_void, 0);