vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit b1cf3e08f9c14cd89830cb169a2559e533f904a9 parent 5b1958529e47ecc035219484b01e13a35be3d941 Author: Marc André Tanner <mat@brain-dump.org> Date: Tue, 23 Feb 2016 00:06:49 +0100 Merge branch 'line-motions' of https://github.com/rgburke/vis Diffstat:
| M | config.def.h | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/config.def.h b/config.def.h @@ -43,6 +43,8 @@ static const KeyBinding bindings_motions[] = { { "^", ACTION(CURSOR_LINE_START) }, { "g_", ACTION(CURSOR_LINE_FINISH) }, { "$", ACTION(CURSOR_LINE_LASTCHAR) }, + { "+", ALIAS("j^") }, + { "-", ALIAS("k^") }, { "%", ACTION(CURSOR_PERCENT) }, { "b", ACTION(CURSOR_WORD_START_PREV) }, { "B", ACTION(CURSOR_LONGWORD_START_PREV) },