vis

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

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

commit bf63d59ddce6d28b358ac575a3b7de4cdaa70cca
parent 5c662bb1d5ae78061fd0ba653f558343f6b9dcdf
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 11 Sep 2014 09:41:15 +0200

In visual mode 'v' should switch to normal mode

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

diff --git a/config.def.h b/config.def.h @@ -363,6 +363,7 @@ static KeyBinding vis_normal[] = { static KeyBinding vis_visual[] = { { { NONE(ESC) }, switchmode, { .i = VIS_MODE_NORMAL } }, { { CONTROL('c') }, switchmode, { .i = VIS_MODE_NORMAL } }, + { { NONE('v') }, switchmode, { .i = VIS_MODE_NORMAL } }, BACKSPACE( operator, i, OP_DELETE ), { { CONTROL('H') }, operator, { .i = OP_DELETE } }, { { NONE('d') }, operator, { .i = OP_DELETE } },