aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index 3736833..5269ea4 100644
--- a/config.def.h
+++ b/config.def.h
@@ -211,8 +211,10 @@ static KeyBinding vis_operators[] = {
{ { NONE('d') }, operator, { .i = OP_DELETE } },
{ { NONE('c') }, operator, { .i = OP_CHANGE } },
{ { NONE('y') }, operator, { .i = OP_YANK } },
- { { NONE('p') }, put, { .i = +1 } },
- { { NONE('P') }, put, { .i = -1 } },
+ { { NONE('p') }, put, { .i = PUT_AFTER } },
+ { { NONE('P') }, put, { .i = PUT_BEFORE } },
+ { { NONE('g'), NONE('p') }, put, { .i = PUT_AFTER_END } },
+ { { NONE('g'), NONE('P') }, put, { .i = PUT_BEFORE_END } },
{ { NONE('>') }, operator, { .i = OP_SHIFT_RIGHT } },
{ { NONE('<') }, operator, { .i = OP_SHIFT_LEFT } },
{ { NONE('g'), NONE('U') }, changecase, { .i = +1 } },