vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit a1cd850b486b462e6004b00629c646e191c2de80 parent 43af330876a331423af7a444f63a0eeb2e451837 Author: Marc André Tanner <mat@brain-dump.org> Date: Fri, 6 Feb 2015 13:48:06 +0100 Delete key in visual mode should delete selection This might or might not work depending on terminfo entries etc. Diffstat:
| M | config.def.h | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/config.def.h b/config.def.h @@ -426,6 +426,7 @@ static KeyBinding vis_mode_normal[] = { static KeyBinding vis_mode_visual[] = { BACKSPACE( operator, i, OP_DELETE ), + { { KEY(DC) }, operator, { .i = OP_DELETE } }, { { NONE(ESC) }, switchmode, { .i = VIS_MODE_NORMAL } }, { { CONTROL('c') }, switchmode, { .i = VIS_MODE_NORMAL } }, { { NONE('v') }, switchmode, { .i = VIS_MODE_NORMAL } },