Skip to content

Commit

Permalink
vis: remove gq alias for =
Browse files Browse the repository at this point in the history
martanne committed May 16, 2018
1 parent 5b609d2 commit c438b98
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions config.def.h
Original file line number Diff line number Diff line change
@@ -172,7 +172,7 @@ static const KeyBinding bindings_operators[] = {
{ "8", ACTION(COUNT) },
{ "9", ACTION(COUNT) },
{ "~", ACTION(OPERATOR_CASE_SWAP) },
{ "=", ALIAS("gq") },
{ "=", ALIAS(":|fmt<Enter>") },
{ "<", ACTION(OPERATOR_SHIFT_LEFT) },
{ ">", ACTION(OPERATOR_SHIFT_RIGHT) },
{ "\"", ACTION(REGISTER) },
@@ -182,7 +182,6 @@ static const KeyBinding bindings_operators[] = {
{ "g~", ACTION(OPERATOR_CASE_SWAP) },
{ "gp", ACTION(PUT_AFTER_END) },
{ "gP", ACTION(PUT_BEFORE_END) },
{ "gq", ALIAS(":| fmt<Enter>") },
{ "gu", ACTION(OPERATOR_CASE_LOWER) },
{ "gU", ACTION(OPERATOR_CASE_UPPER) },
{ "p", ACTION(PUT_AFTER) },
3 changes: 0 additions & 3 deletions man/vis.1
Original file line number Diff line number Diff line change
@@ -771,9 +771,6 @@ change, delete range and enter insert mode
delete range
.
.It Ic =
indent, currently an alias for gq
.
.It Ic gq
format, filter range through
.Xr fmt 1
.

0 comments on commit c438b98

Please sign in to comment.