nano

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

commit 3d1ef8e07f32a2b822585eb1b1673dcb4ea5971c
parent 5033cfd81ab7932699c81015de878272b70d1ff1
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Tue,  2 May 2017 17:53:36 +0200

bindings: show Home and End in browser help text, instead of M-| and M-?

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

diff --git a/src/global.c b/src/global.c @@ -1258,11 +1258,11 @@ void shortcut_init(void) add_to_sclist(MWHEREISFILE, "^Y", 0, do_first_file, 0); add_to_sclist(MWHEREISFILE, "^V", 0, do_last_file, 0); add_to_sclist(MBROWSER|MWHEREISFILE, "M-\\", 0, do_first_file, 0); - add_to_sclist(MBROWSER|MWHEREISFILE, "M-|", 0, do_first_file, 0); add_to_sclist(MBROWSER|MWHEREISFILE, "M-/", 0, do_last_file, 0); - add_to_sclist(MBROWSER|MWHEREISFILE, "M-?", 0, do_last_file, 0); add_to_sclist(MBROWSER, "Home", KEY_HOME, do_first_file, 0); add_to_sclist(MBROWSER, "End", KEY_END, do_last_file, 0); + add_to_sclist(MBROWSER|MWHEREISFILE, "M-|", 0, do_first_file, 0); + add_to_sclist(MBROWSER|MWHEREISFILE, "M-?", 0, do_last_file, 0); add_to_sclist(MBROWSER, "^Home", CONTROL_HOME, do_first_file, 0); add_to_sclist(MBROWSER, "^End", CONTROL_END, do_last_file, 0); add_to_sclist(MBROWSER, "^_", 0, goto_dir_void, 0);