diff options
| author | Rob Pilling <robpilling@gmail.com> | 2016-04-12 22:56:29 +0100 |
|---|---|---|
| committer | Rob Pilling <robpilling@gmail.com> | 2016-04-12 22:56:29 +0100 |
| commit | 255da074c15de15d45eb1582c819d68ee480800d (patch) | |
| tree | 339ae9529e55a2a71b5c66d79fda08ff3c533c25 /vis-motions.c | |
| parent | 3939baaac101cea08c711638dfd537f4a039d0ae (diff) | |
| download | vis-255da074c15de15d45eb1582c819d68ee480800d.tar.gz vis-255da074c15de15d45eb1582c819d68ee480800d.tar.xz | |
Add "[{" and "]}" motions to jump to a block's start/end
Diffstat (limited to 'vis-motions.c')
| -rw-r--r-- | vis-motions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vis-motions.c b/vis-motions.c index b42f153..b89f94c 100644 --- a/vis-motions.c +++ b/vis-motions.c @@ -366,6 +366,8 @@ const Movement vis_motions[] = { [VIS_MOVE_FUNCTION_START_NEXT] = { .txt = text_function_start_next, .type = LINEWISE|JUMP }, [VIS_MOVE_FUNCTION_END_PREV] = { .txt = text_function_end_prev, .type = LINEWISE|JUMP }, [VIS_MOVE_FUNCTION_END_NEXT] = { .txt = text_function_end_next, .type = LINEWISE|JUMP }, + [VIS_MOVE_BLOCK_START] = { .txt = text_block_start, .type = JUMP }, + [VIS_MOVE_BLOCK_END] = { .txt = text_block_end, .type = JUMP }, [VIS_MOVE_BRACKET_MATCH] = { .txt = bracket_match, .type = INCLUSIVE|JUMP }, [VIS_MOVE_FILE_BEGIN] = { .txt = text_begin, .type = LINEWISE|JUMP }, [VIS_MOVE_FILE_END] = { .txt = text_end, .type = LINEWISE|JUMP }, |
