nano

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

commit aa844ada4e596dfb61ed2da926ef87ee2376f21d
parent 9b7a813069e9397dcb83e79609bb6ea9ef522eef
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun,  9 Jun 2024 16:48:06 +0200

tweaks: remove the now unneeded special keycode INDENT_KEY

Diffstat:
Msrc/definitions.h | 3---
Msrc/global.c | 1-
2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/definitions.h b/src/definitions.h @@ -227,9 +227,6 @@ #define PLANTED_A_COMMAND 0x4EC #define NO_SUCH_FUNCTION 0x4EF -/* A special keycode for when <Tab> is pressed while the mark is on. */ -#define INDENT_KEY 0x4F1 - /* A special keycode to signal the beginning and end of a bracketed paste. */ #define BRACKETED_PASTE_MARKER 0x4FB diff --git a/src/global.c b/src/global.c @@ -1311,7 +1311,6 @@ void shortcut_init(void) add_to_sclist(MMAIN, "^6", 0, do_mark, 0); add_to_sclist(MMAIN, "^^", 0, do_mark, 0); add_to_sclist(MMAIN, "M-}", 0, do_indent, 0); - add_to_sclist(MMAIN, "", INDENT_KEY, do_indent, 0); add_to_sclist(MMAIN, "M-{", 0, do_unindent, 0); add_to_sclist(MMAIN, "Sh-Tab", SHIFT_TAB, do_unindent, 0); add_to_sclist(MMAIN, "M-:", 0, record_macro, 0);