diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -160,6 +160,7 @@ enum { VIS_ACTION_CURSOR_SCREEN_LINE_MIDDLE, VIS_ACTION_CURSOR_SCREEN_LINE_END, VIS_ACTION_CURSOR_PERCENT, + VIS_ACTION_CURSOR_BYTE, VIS_ACTION_CURSOR_PARAGRAPH_PREV, VIS_ACTION_CURSOR_PARAGRAPH_NEXT, VIS_ACTION_CURSOR_SENTENCE_PREV, @@ -451,6 +452,11 @@ static const KeyAction vis_action[] = { "Move to count % of file or matching item", percent }, + [VIS_ACTION_CURSOR_BYTE] = { + "cursor-byte", + "Move to absolute byte position", + movement, { .i = VIS_MOVE_BYTE } + }, [VIS_ACTION_CURSOR_PARAGRAPH_PREV] = { "cursor-paragraph-prev", "Move cursor paragraph backward", |
