aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-10 19:19:17 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-10 19:19:17 +0200
commitac669ee5d2e43f60491fe22413afe6c09455b191 (patch)
treee2968ead9e4cb2b405d2284d678f58c07a837edd /config.def.h
parent47761c6e954a39b93515e3d3193d8736014d1b48 (diff)
downloadvis-ac669ee5d2e43f60491fe22413afe6c09455b191.tar.gz
vis-ac669ee5d2e43f60491fe22413afe6c09455b191.tar.xz
Add movements 'B' and 'E'
Notice that we currently do not make a distinction between a WORD and a word.
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 b56ce4a..d706974 100644
--- a/config.def.h
+++ b/config.def.h
@@ -110,9 +110,11 @@ static KeyBinding vis_movements[] = {
{ { NONE('$') }, movement, { .i = MOVE_LINE_END } },
{ { NONE('%') }, movement, { .i = MOVE_BRACKET_MATCH } },
{ { NONE('b') }, movement, { .i = MOVE_WORD_START_PREV } },
+ { { NONE('B') }, movement, { .i = MOVE_WORD_START_PREV } },
{ { NONE('w') }, movement, { .i = MOVE_WORD_START_NEXT } },
{ { NONE('g'), NONE('e') }, movement, { .i = MOVE_WORD_END_PREV } },
{ { NONE('e') }, movement, { .i = MOVE_WORD_END_NEXT } },
+ { { NONE('E') }, movement, { .i = MOVE_WORD_END_NEXT } },
{ { NONE('{') }, movement, { .i = MOVE_PARAGRAPH_PREV } },
{ { NONE('}') }, movement, { .i = MOVE_PARAGRAPH_NEXT } },
{ { NONE('(') }, movement, { .i = MOVE_SENTENCE_PREV } },