vis

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

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

commit 214bf953faf5345f64102ad162b61f11e3eb7a37
parent ff6d1d3c3636b934a50fff3357a01ad3c15c59d0
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 11 Sep 2014 10:35:44 +0200

Add normal mode command 'X'

Diffstat:
Mconfig.def.h | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -356,6 +356,7 @@ static KeyBinding vis_normal[] = { { { NONE('S') }, operator_twice, { .i = OP_CHANGE } }, { { NONE('s') }, change, { .i = MOVE_CHAR_NEXT } }, { { NONE('Y') }, operator_twice, { .i = OP_YANK } }, + { { NONE('X') }, delete, { .i = MOVE_CHAR_PREV } }, { { NONE('u') }, undo, { NULL } }, { { CONTROL('R') }, redo, { NULL } }, { { CONTROL('L') }, call, { .f = editor_draw } },