vis

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

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

commit 92c74937e37af8df9b9828693dde1bfa0893d65d
parent 5680eb807bfc8267af25deb972a676d347ae9664
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Tue, 13 Jan 2015 22:36:10 +0100

Make J also join lines spanning multiple screen lines

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

diff --git a/config.def.h b/config.def.h @@ -399,7 +399,7 @@ static KeyBinding vis_mode_normal[] = { { { NONE('.') }, repeat, { NULL } }, { { NONE('o') }, openline, { .i = MOVE_LINE_NEXT } }, { { NONE('O') }, openline, { .i = MOVE_LINE_PREV } }, - { { NONE('J') }, join, { .i = MOVE_SCREEN_LINE_DOWN} }, + { { NONE('J') }, join, { .i = MOVE_LINE_NEXT } }, { { NONE('x') }, delete, { .i = MOVE_CHAR_NEXT } }, { { NONE('r') }, replace, { NULL } }, { { NONE('i') }, switchmode, { .i = VIS_MODE_INSERT } },