vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit e0cdc51f6fe99ed9fb3e16a4a5bac0fe297436fb parent 5ced2d139d5b816eeebe9e68d89e7ee6353b7fc1 Author: Marc André Tanner <mat@brain-dump.org> Date: Tue, 23 Sep 2014 22:45:02 +0200 'o' should switch to insert mode Diffstat:
| M | vis.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/vis.c b/vis.c @@ -857,6 +857,7 @@ static void openline(const Arg *arg) { movement(&(const Arg){ .i = arg->i == MOVE_LINE_NEXT ? MOVE_LINE_END : MOVE_LINE_PREV }); insert_newline(NULL); + switchmode(&(const Arg){ .i = VIS_MODE_INSERT }); } static void joinline(const Arg *arg) {