vis

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

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

commit 4248c42e95c2a18dc882e97cc8aa5466499aab49
parent e76d1d44efb67d470a1bff07969d9e6326a9df40
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Sun, 17 Jan 2016 19:40:01 +0100

vis: make Y only yank from the current position to the end of line

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

diff --git a/config.def.h b/config.def.h @@ -208,7 +208,7 @@ static const KeyBinding bindings_normal[] = { { "R", ACTION(MODE_REPLACE) }, { "S", ALIAS("^c$") }, { "s", ALIAS("cl") }, - { "Y", ALIAS("yy") }, + { "Y", ALIAS("y$") }, { "X", ALIAS("dh") }, { "u", ACTION(UNDO) }, { "<C-r>", ACTION(REDO) },