vis

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

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

commit b042df3e399be6abcd3920f8a8e08ae88dab7df4
parent 73958499418d52929d1771077150e390c17204cc
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Wed, 10 Sep 2014 19:22:00 +0200

Add normal command 'Y' as a synonym for 'yy'

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

diff --git a/config.def.h b/config.def.h @@ -347,6 +347,7 @@ static KeyBinding vis_normal[] = { { { NONE('v') }, switchmode, { .i = VIS_MODE_VISUAL } }, { { NONE('R') }, switchmode, { .i = VIS_MODE_REPLACE} }, { { NONE('S') }, operator_twice, { .i = OP_CHANGE } }, + { { NONE('Y') }, operator_twice, { .i = OP_YANK } }, { { NONE('u') }, undo, { NULL } }, { { CONTROL('R') }, redo, { NULL } }, { { CONTROL('L') }, call, { .f = editor_draw } },