mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 12:51:23 +03:00
rcfile: add bindable functions for moving the cursor to top or bottom row
This commit is contained in:
parent
72c83badf6
commit
e51a28e492
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user