aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vis.c b/vis.c
index b2e9360..46220b3 100644
--- a/vis.c
+++ b/vis.c
@@ -196,6 +196,7 @@ enum {
MOVE_LINE_BEGIN,
MOVE_LINE_START,
MOVE_LINE_FINISH,
+ MOVE_LINE_LASTCHAR,
MOVE_LINE_END,
MOVE_LINE_NEXT,
MOVE_LINE,
@@ -263,6 +264,7 @@ static Movement moves[] = {
[MOVE_LINE_BEGIN] = { .txt = text_line_begin, .type = LINEWISE },
[MOVE_LINE_START] = { .txt = text_line_start, .type = LINEWISE },
[MOVE_LINE_FINISH] = { .txt = text_line_finish, .type = LINEWISE },
+ [MOVE_LINE_LASTCHAR] = { .txt = text_line_lastchar, .type = LINEWISE|INCLUSIVE },
[MOVE_LINE_END] = { .txt = text_line_end, .type = LINEWISE },
[MOVE_LINE_NEXT] = { .txt = text_line_next, .type = LINEWISE },
[MOVE_LINE] = { .cmd = line, .type = LINEWISE|IDEMPOTENT},