From 255da074c15de15d45eb1582c819d68ee480800d Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Tue, 12 Apr 2016 22:56:29 +0100 Subject: Add "[{" and "]}" motions to jump to a block's start/end --- vis-motions.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vis-motions.c') 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 }, -- cgit v1.2.3