commit e51a28e492fa948794efe376d50790443256699b
parent 72c83badf6487a9453898808fbdd169c2245cba1
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 7 Apr 2024 10:47:03 +0200
rcfile: add bindable functions for moving the cursor to top or bottom row
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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;