Skip to content

Commit

Permalink
vis: remove gp
Browse files Browse the repository at this point in the history
This only removes the user visible mapping, the underlying implementation
is kept for now. This might change in the future.
  • Loading branch information
martanne committed May 16, 2018
1 parent 62ea7dc commit 90587a0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion config.def.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ static const KeyBinding bindings_operators[] = {
{ "c", ACTION(OPERATOR_CHANGE) },
{ "d", ACTION(OPERATOR_DELETE) },
{ "g~", ALIAS(":|tr '[:lower:][:upper:]' '[:upper:][:lower:]'<Enter>") },
{ "gp", ACTION(PUT_AFTER_END) },
{ "gP", ACTION(PUT_BEFORE_END) },
{ "gu", ALIAS(":|tr '[:upper:]' '[:lower:]'<Enter>")},
{ "gU", ALIAS(":|tr '[:lower:]' '[:upper:]'<Enter>")},
Expand Down
6 changes: 0 additions & 6 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 90587a0

Please sign in to comment.