From 0280cf83b32ea9cbcdce1cf470fa74da5fe44ccb Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Tue, 12 Apr 2016 22:56:30 +0100 Subject: Add "[(" and "])" motions for jumping to a parenthese pair'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 b89f94c..33784ff 100644 --- a/vis-motions.c +++ b/vis-motions.c @@ -368,6 +368,8 @@ const Movement vis_motions[] = { [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_PARENTHESE_START] = { .txt = text_parenthese_start, .type = JUMP }, + [VIS_MOVE_PARENTHESE_END] = { .txt = text_parenthese_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