vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 541461cbd61bd7e5f2bd8cf7fc664c12ded28840 parent 233fdad930ed3292d846b36fbe1af1d177d1bf85 Author: Marc André Tanner <mat@brain-dump.org> Date: Tue, 30 Sep 2014 16:52:33 +0200 Unbreak 'J' in normal mode Diffstat:
| M | config.def.h | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.def.h b/config.def.h @@ -386,7 +386,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_LINE_NEXT } }, + { { NONE('J') }, join, { .i = MOVE_SCREEN_LINE_DOWN} }, { { NONE('x') }, delete, { .i = MOVE_CHAR_NEXT } }, { { NONE('r') }, replace, { NULL } }, { { NONE('i') }, switchmode, { .i = VIS_MODE_INSERT } },