From e51a28e492fa948794efe376d50790443256699b Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 7 Apr 2024 10:47:03 +0200 Subject: [PATCH] rcfile: add bindable functions for moving the cursor to top or bottom row --- src/rcfile.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/rcfile.c b/src/rcfile.c index 3f94e155..943d6888 100644 --- a/src/rcfile.c +++ b/src/rcfile.c @@ -354,6 +354,12 @@ keystruct *strtosc(const char *input) s->func = to_prev_block; else if (!strcmp(input, "nextblock")) s->func = to_next_block; +#ifndef NANO_TINY + else if (!strcmp(input, "toprow")) + s->func = to_top_row; + else if (!strcmp(input, "bottomrow")) + s->func = to_bottom_row; +#endif else if (!strcmp(input, "pageup") || !strcmp(input, "prevpage")) s->func = do_page_up;