aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-01-17 19:40:01 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-01-17 19:40:01 +0100
commitc8e32da87ead4da428c8af6d700970e8fccd1f7c (patch)
treeeed89bad9e77efa00c254167b00587abd33bfa10
parentd88e333202b1ed5996a66a8d799c6090a9de731f (diff)
downloadvis-c8e32da87ead4da428c8af6d700970e8fccd1f7c.tar.gz
vis-c8e32da87ead4da428c8af6d700970e8fccd1f7c.tar.xz
vis: make Y only yank from the current position to the end of line
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index a51c875..86e1c79 100644
--- 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) },