rcfile: add bindable functions for moving the cursor to top or bottom row

This commit is contained in:
Benno Schulenberg 2024-04-07 10:47:03 +02:00
parent 72c83badf6
commit e51a28e492

View File

@ -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;