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-|.
master
Benno Schulenberg 2018-07-31 20:03:25 +02:00
parent 33fb54c75f
commit d249233ea7
1 changed files with 0 additions and 3 deletions

View File

@ -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, "^Home", CONTROL_HOME, to_first_line, 0);
add_to_sclist(MMAIN|MHELP, "M-/", 0, to_last_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, "^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-W", 0, do_findnext, 0);
add_to_sclist(MMAIN|MHELP|MBROWSER, "M-Q", 0, do_findprevious, 0); add_to_sclist(MMAIN|MHELP|MBROWSER, "M-Q", 0, do_findprevious, 0);
#ifndef NANO_TINY #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|MWHEREISFILE, "M-/", 0, to_last_file, 0);
add_to_sclist(MBROWSER, "Home", KEY_HOME, to_first_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, "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, "^Home", CONTROL_HOME, to_first_file, 0);
add_to_sclist(MBROWSER, "^End", CONTROL_END, to_last_file, 0); add_to_sclist(MBROWSER, "^End", CONTROL_END, to_last_file, 0);
add_to_sclist(MBROWSER, "^_", 0, goto_dir_void, 0); add_to_sclist(MBROWSER, "^_", 0, goto_dir_void, 0);