aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-10 19:22:00 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-10 19:22:00 +0200
commitda3c41bca0f1b697f7a0eb364ca736ba8b30dbc8 (patch)
tree638940b7a3624d6eff253563ea1977a94bf8c48a
parent8910f3fc969ebc64c3f71d162cc9383cf197cdba (diff)
downloadvis-da3c41bca0f1b697f7a0eb364ca736ba8b30dbc8.tar.gz
vis-da3c41bca0f1b697f7a0eb364ca736ba8b30dbc8.tar.xz
Add normal command 'Y' as a synonym for 'yy'
-rw-r--r--config.def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 1a7d383..8613794 100644
--- a/config.def.h
+++ b/config.def.h
@@ -347,6 +347,7 @@ static KeyBinding vis_normal[] = {
{ { NONE('v') }, switchmode, { .i = VIS_MODE_VISUAL } },
{ { NONE('R') }, switchmode, { .i = VIS_MODE_REPLACE} },
{ { NONE('S') }, operator_twice, { .i = OP_CHANGE } },
+ { { NONE('Y') }, operator_twice, { .i = OP_YANK } },
{ { NONE('u') }, undo, { NULL } },
{ { CONTROL('R') }, redo, { NULL } },
{ { CONTROL('L') }, call, { .f = editor_draw } },