aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorRob Pilling <robpilling@gmail.com>2016-04-12 22:56:29 +0100
committerRob Pilling <robpilling@gmail.com>2016-04-12 22:56:29 +0100
commit255da074c15de15d45eb1582c819d68ee480800d (patch)
tree339ae9529e55a2a71b5c66d79fda08ff3c533c25 /config.def.h
parent3939baaac101cea08c711638dfd537f4a039d0ae (diff)
downloadvis-255da074c15de15d45eb1582c819d68ee480800d.tar.gz
vis-255da074c15de15d45eb1582c819d68ee480800d.tar.xz
Add "[{" and "]}" motions to jump to a block'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 3441536..ba27fec 100644
--- a/config.def.h
+++ b/config.def.h
@@ -30,6 +30,8 @@ static const KeyBinding bindings_motions[] = {
{ "[]", ACTION(CURSOR_FUNCTION_END_PREV) },
{ "][", ACTION(CURSOR_FUNCTION_START_NEXT) },
{ "[[", ACTION(CURSOR_FUNCTION_START_PREV) },
+ { "[{", ACTION(CURSOR_BLOCK_START) },
+ { "]}", ACTION(CURSOR_BLOCK_END) },
{ "$", ACTION(CURSOR_LINE_LASTCHAR) },
{ "^", ACTION(CURSOR_LINE_START) },
{ "}", ACTION(CURSOR_PARAGRAPH_NEXT) },