vis

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

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

commit 7be1e8bab2fb974ace8dc3721019ab0c04da717b
parent 599f503ab7221ca539a6ceb6e1a217cd139543de
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Mon,  8 Sep 2014 12:04:30 +0200

Fix insertion of newlines

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

diff --git a/config.def.h b/config.def.h @@ -118,7 +118,7 @@ static size_t column(const Arg *arg) { } static void insert(const Arg *arg) { - vis_insert(vis, window_cursor_get(vis->win->win), arg->s, arg->s ? strlen(arg->s) : 0); + vis_insert_key(vis, arg->s, arg->s ? strlen(arg->s) : 0); } static void insert_tab(const Arg *arg) {