aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorRob Pilling <robpilling@gmail.com>2016-04-12 22:56:30 +0100
committerRob Pilling <robpilling@gmail.com>2016-04-12 22:56:30 +0100
commit0280cf83b32ea9cbcdce1cf470fa74da5fe44ccb (patch)
tree0f9f28e8be29fd476fedd4efadb93f0af5be0941 /config.def.h
parent255da074c15de15d45eb1582c819d68ee480800d (diff)
downloadvis-0280cf83b32ea9cbcdce1cf470fa74da5fe44ccb.tar.gz
vis-0280cf83b32ea9cbcdce1cf470fa74da5fe44ccb.tar.xz
Add "[(" and "])" motions for jumping to a parenthese pair's start/end
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index ba27fec..7b75f2e 100644
--- a/config.def.h
+++ b/config.def.h
@@ -32,6 +32,8 @@ static const KeyBinding bindings_motions[] = {
{ "[[", ACTION(CURSOR_FUNCTION_START_PREV) },
{ "[{", ACTION(CURSOR_BLOCK_START) },
{ "]}", ACTION(CURSOR_BLOCK_END) },
+ { "[(", ACTION(CURSOR_PARENTHESE_START) },
+ { "])", ACTION(CURSOR_PARENTHESE_END) },
{ "$", ACTION(CURSOR_LINE_LASTCHAR) },
{ "^", ACTION(CURSOR_LINE_START) },
{ "}", ACTION(CURSOR_PARAGRAPH_NEXT) },