From 90587a043f6fd697f27bf42eca7464e06b48dc31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 26 Apr 2018 15:29:49 +0200 Subject: vis: remove gp This only removes the user visible mapping, the underlying implementation is kept for now. This might change in the future. --- config.def.h | 1 - main.c | 6 ------ 2 files changed, 7 deletions(-) diff --git a/config.def.h b/config.def.h index 7c437ba..3c4de9d 100644 --- a/config.def.h +++ b/config.def.h @@ -180,7 +180,6 @@ static const KeyBinding bindings_operators[] = { { "c", ACTION(OPERATOR_CHANGE) }, { "d", ACTION(OPERATOR_DELETE) }, { "g~", ALIAS(":|tr '[:lower:][:upper:]' '[:upper:][:lower:]'") }, - { "gp", ACTION(PUT_AFTER_END) }, { "gP", ACTION(PUT_BEFORE_END) }, { "gu", ALIAS(":|tr '[:upper:]' '[:lower:]'")}, { "gU", ALIAS(":|tr '[:lower:]' '[:upper:]'")}, diff --git a/main.c b/main.c index efce88e..05d3438 100644 --- a/main.c +++ b/main.c @@ -260,7 +260,6 @@ enum { VIS_ACTION_WINDOW_SLIDE_DOWN, VIS_ACTION_PUT_AFTER, VIS_ACTION_PUT_BEFORE, - VIS_ACTION_PUT_AFTER_END, VIS_ACTION_PUT_BEFORE_END, VIS_ACTION_SELECTIONS_MATCH_WORD, VIS_ACTION_SELECTIONS_NEW_LINE_ABOVE, @@ -896,11 +895,6 @@ static const KeyAction vis_action[] = { VIS_HELP("Put text before the cursor") operator, { .i = VIS_OP_PUT_BEFORE } }, - [VIS_ACTION_PUT_AFTER_END] = { - "vis-put-after-end", - VIS_HELP("Put text after the cursor, place cursor after new text") - operator, { .i = VIS_OP_PUT_AFTER_END } - }, [VIS_ACTION_PUT_BEFORE_END] = { "vis-put-before-end", VIS_HELP("Put text before the cursor, place cursor after new text") -- cgit v1.2.3