nano

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

commit 4e8afb28774436312afac11d34138467d4ad8786
parent c7ad5c8d869d4d5e55439cc7c6c1d45f8e67b682
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri, 13 Dec 2019 19:18:10 +0100

tweaks: drop M-Space and ^Space from the browser's key list

The 'prevword' and 'nextword' functions do not exist in the browser.

The mistake was made in commit a8c13d79 from five years ago.

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

diff --git a/src/global.c b/src/global.c @@ -1195,8 +1195,8 @@ void shortcut_init(void) add_to_sclist(MMAIN, "M-F", 0, do_next_word_void, 0); add_to_sclist(MMAIN, "M-N", 0, do_next_word_void, 0); #endif - add_to_sclist(MMOST|MBROWSER, "M-Space", 0, do_prev_word_void, 0); - add_to_sclist(MMOST|MBROWSER, "^Space", 0, do_next_word_void, 0); + add_to_sclist(MMOST, "M-Space", 0, do_prev_word_void, 0); + add_to_sclist(MMOST, "^Space", 0, do_next_word_void, 0); add_to_sclist(MMOST, "^A", 0, do_home, 0); add_to_sclist(MMOST, "Home", KEY_HOME, do_home, 0); add_to_sclist(MMOST, "^E", 0, do_end, 0);