vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 5be7017812361e7ce01b806938945ec3f548165e parent 56b4d0194969fe520402933748a63733d88f0db8 Author: Marc André Tanner <mat@brain-dump.org> Date: Wed, 10 Sep 2014 19:19:17 +0200 Add movements 'B' and 'E' Notice that we currently do not make a distinction between a WORD and a word. Diffstat:
| M | config.def.h | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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 } },