nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit d249233ea7761451ebf10d2041ea001a30b5c1b6
parent 33fb54c75fb7a11c8484edaacfcedff1d4c199ba
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue, 31 Jul 2018 20:03:25 +0200

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

Diffstat:
Msrc/global.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git 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);