aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index 55e7924..7c437ba 100644
--- a/config.def.h
+++ b/config.def.h
@@ -171,7 +171,7 @@ static const KeyBinding bindings_operators[] = {
{ "7", ACTION(COUNT) },
{ "8", ACTION(COUNT) },
{ "9", ACTION(COUNT) },
- { "~", ACTION(OPERATOR_CASE_SWAP) },
+ { "~", ALIAS("g~") },
{ "=", ALIAS(":|fmt<Enter>") },
{ "<", ACTION(OPERATOR_SHIFT_LEFT) },
{ ">", ACTION(OPERATOR_SHIFT_RIGHT) },
@@ -179,7 +179,7 @@ static const KeyBinding bindings_operators[] = {
{ "'", ACTION(MARK) },
{ "c", ACTION(OPERATOR_CHANGE) },
{ "d", ACTION(OPERATOR_DELETE) },
- { "g~", ACTION(OPERATOR_CASE_SWAP) },
+ { "g~", ALIAS(":|tr '[:lower:][:upper:]' '[:upper:][:lower:]'<Enter>") },
{ "gp", ACTION(PUT_AFTER_END) },
{ "gP", ACTION(PUT_BEFORE_END) },
{ "gu", ALIAS(":|tr '[:upper:]' '[:lower:]'<Enter>")},
@@ -202,7 +202,6 @@ static const KeyBinding bindings_normal[] = {
{ "@", ACTION(MACRO_REPLAY) },
{ ":", ACTION(PROMPT_SHOW) },
{ ".", ACTION(REPEAT) },
- { "~", ALIAS("<vis-operator-case-swap>ll") },
{ "C", ALIAS("c$") },
{ "<C-b>", ALIAS("<PageUp>") },
{ "<C-c>", ACTION(SELECTIONS_REMOVE_COLUMN) },