nano

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

commit 3a781fd719eeb14cb1b6f4d026e0f1b749efb375
parent f4a2e7efe2af83f54fcf5b374cf564a477ac9dad
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed, 17 Aug 2022 14:34:04 +0200

help: move the M-Del item up, so that M-PgUp and M-PgDn are paired

(It needs a huge terminal and a tiny font for these to come into view,
but... it's possible.)

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

diff --git a/src/global.c b/src/global.c @@ -995,6 +995,10 @@ void shortcut_init(void) add_to_funcs(run_macro, MMAIN, N_("Run Macro"), WHENHELP(runmacro_gist), BLANKAFTER); + add_to_funcs(zap_text, MMAIN, + /* TRANSLATORS: This refers to deleting a line or marked region. */ + N_("Zap"), WHENHELP(zap_gist), BLANKAFTER); + add_to_funcs(put_or_lift_anchor, MMAIN, N_("Anchor"), WHENHELP(anchor_gist), TOGETHER); add_to_funcs(to_prev_anchor, MMAIN, @@ -1002,10 +1006,6 @@ void shortcut_init(void) add_to_funcs(to_next_anchor, MMAIN, N_("Down to anchor"), WHENHELP(nextanchor_gist), BLANKAFTER); - add_to_funcs(zap_text, MMAIN, - /* TRANSLATORS: This refers to deleting a line or marked region. */ - N_("Zap"), WHENHELP(zap_gist), BLANKAFTER); - if (!ISSET(RESTRICTED)) { #ifdef ENABLE_SPELLER add_to_funcs(do_spell, MMAIN,