Skip to content

Commit

Permalink
vis: make put commands p, P, gp, gP available in visual modes
Browse files Browse the repository at this point in the history
  • Loading branch information
martanne committed Feb 18, 2016
1 parent ff57c0b commit a05f231
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config.def.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ static const KeyBinding bindings_operators[] = {
{ "gu", ACTION(OPERATOR_CASE_LOWER) },
{ "!", ACTION(OPERATOR_FILTER) },
{ "=", ACTION(OPERATOR_FILTER_FMT) },
{ "p", ACTION(PUT_AFTER) },
{ "P", ACTION(PUT_BEFORE) },
{ "gp", ACTION(PUT_AFTER_END) },
{ "gP", ACTION(PUT_BEFORE_END) },
{ "\"", ACTION(REGISTER) },
{ 0 /* empty last element, array terminator */ },
};
Expand Down Expand Up @@ -236,10 +240,6 @@ static const KeyBinding bindings_normal[] = {
{ "m", ACTION(MARK_SET) },
{ "<F1>", ALIAS(":help<Enter>") },
{ "ga", ACTION(UNICODE_INFO) },
{ "p", ACTION(PUT_AFTER) },
{ "P", ACTION(PUT_BEFORE) },
{ "gp", ACTION(PUT_AFTER_END) },
{ "gP", ACTION(PUT_BEFORE_END) },
{ "~", ALIAS("<vis-operator-case-swap>l") },
{ "<End>", ALIAS("$") },
{ "gf", ACTION(OPEN_FILE_UNDER_CURSOR) },
Expand Down

0 comments on commit a05f231

Please sign in to comment.