diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-24 19:51:26 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-24 19:51:26 +0200 |
| commit | c4be8388aa0ccc678c765be065ef5563c3ff7c12 (patch) | |
| tree | d805abbfc599a33ed37b098989e9d17fbc8b6ad8 /vis.c | |
| parent | cd8518becf7938c1fd59c8cb0cc494c5bbd17ee3 (diff) | |
| download | vis-c4be8388aa0ccc678c765be065ef5563c3ff7c12.tar.gz vis-c4be8388aa0ccc678c765be065ef5563c3ff7c12.tar.xz | |
'f' and 't' should be inclusive
Diffstat (limited to 'vis.c')
| -rw-r--r-- | vis.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -281,9 +281,9 @@ static Movement moves[] = { [MOVE_FILE_BEGIN] = { .txt = text_begin, .type = LINEWISE }, [MOVE_FILE_END] = { .txt = text_end, .type = LINEWISE }, [MOVE_LEFT_TO] = { .cmd = to_left, .type = LINEWISE }, - [MOVE_RIGHT_TO] = { .cmd = to, .type = LINEWISE }, + [MOVE_RIGHT_TO] = { .cmd = to, .type = LINEWISE|INCLUSIVE }, [MOVE_LEFT_TILL] = { .cmd = till_left, .type = LINEWISE }, - [MOVE_RIGHT_TILL] = { .cmd = till, .type = LINEWISE }, + [MOVE_RIGHT_TILL] = { .cmd = till, .type = LINEWISE|INCLUSIVE }, [MOVE_MARK] = { .cmd = mark_goto, .type = LINEWISE }, [MOVE_MARK_LINE] = { .cmd = mark_line_goto, .type = LINEWISE }, [MOVE_SEARCH_FORWARD] = { .cmd = search_forward, .type = LINEWISE }, |
