vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 5dd241bea3d4a61f404efd864cf3d44061a34b3f
parent c4f33698b73e8b3a65e9e16a1b16601e8239bf1f
Author: Richard Burke <rich.g.burke@gmail.com>
Date:   Mon, 22 Feb 2016 21:50:50 +0000

Added + and - motions

Diffstat:
Mconfig.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) },