nano

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

commit c545438a5f09f489c555d6132a2cfce7efd339f0
parent e998814bbc2810e7531385a1f7990322397d053c
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun, 23 Sep 2018 20:05:16 +0200

bindings: drop M-| as a keystroke for 'cutwordleft' -- set it free again

The binding was made only to have *something* bound by default to the
'cutwordleft' function.  But now that <Ctrl+Shift+Delete> is available
*and* visible in the help text, the M-| binding is superfluous.

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

diff --git a/src/global.c b/src/global.c @@ -1155,7 +1155,6 @@ void shortcut_init(void) add_to_sclist(MMAIN, "M-;", 0, run_macro, 0); add_to_sclist(MMAIN, "M-U", 0, do_undo, 0); add_to_sclist(MMAIN, "M-E", 0, do_redo, 0); - add_to_sclist(MMAIN, "M-|", 0, do_cut_prev_word, 0); add_to_sclist(MMAIN, "Sh-^Del", CONTROL_SHIFT_DELETE, do_cut_prev_word, 0); add_to_sclist(MMAIN, "^Del", CONTROL_DELETE, do_cut_next_word, 0); #endif