vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 87e92e570ed1d7e547639a40a3932bf6f6c11dcb
parent 0ae46be59ee3150940fc03898ce62b4c0cca514d
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Sat, 27 Sep 2014 15:22:22 +0200

'g_' should be inclusive

Diffstat:
Mvis.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vis.c b/vis.c @@ -270,7 +270,7 @@ static Movement moves[] = { [MOVE_LINE_PREV] = { .txt = text_line_prev, .type = LINEWISE }, [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_FINISH] = { .txt = text_line_finish, .type = LINEWISE|INCLUSIVE }, [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 },