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. It is used in insert mode for the implementation of <C-r>
(register insertion).
  • Loading branch information
martanne committed May 16, 2018
1 parent 90587a0 commit 55ea139
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_BEFORE_END) },
{ "gu", ALIAS(":|tr '[:upper:]' '[:lower:]'<Enter>")},
{ "gU", ALIAS(":|tr '[:lower:]' '[:upper:]'<Enter>")},
{ "p", ACTION(PUT_AFTER) },
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_BEFORE_END,
VIS_ACTION_SELECTIONS_MATCH_WORD,
VIS_ACTION_SELECTIONS_NEW_LINE_ABOVE,
VIS_ACTION_SELECTIONS_NEW_LINE_ABOVE_FIRST,
Expand Down Expand Up @@ -895,11 +894,6 @@ static const KeyAction vis_action[] = {
VIS_HELP("Put text before the cursor")
operator, { .i = VIS_OP_PUT_BEFORE }
},
[VIS_ACTION_PUT_BEFORE_END] = {
"vis-put-before-end",
VIS_HELP("Put text before the cursor, place cursor after new text")
operator, { .i = VIS_OP_PUT_BEFORE_END }
},
[VIS_ACTION_SELECTIONS_MATCH_WORD] = {
"vis-selections-select-word",
VIS_HELP("Select word under cursor")
Expand Down

0 comments on commit 55ea139

Please sign in to comment.