aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.def.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/config.def.h b/config.def.h
index 54be734..a540201 100644
--- a/config.def.h
+++ b/config.def.h
@@ -153,16 +153,16 @@ static const KeyBinding bindings_operators[] = {
{ "7", ACTION(COUNT) },
{ "8", ACTION(COUNT) },
{ "9", ACTION(COUNT) },
- { "=", ALIAS(":|fmt<Enter>") },
+ { "=", ALIAS("<vis-prompt-show>|fmt<Enter>") },
{ "<", ACTION(OPERATOR_SHIFT_LEFT) },
{ ">", ACTION(OPERATOR_SHIFT_RIGHT) },
{ "\"", ACTION(REGISTER) },
{ "'", ACTION(MARK) },
{ "c", ACTION(OPERATOR_CHANGE) },
{ "d", ACTION(OPERATOR_DELETE) },
- { "g~", ALIAS(":|tr '[:lower:][:upper:]' '[:upper:][:lower:]'<Enter>") },
- { "gu", ALIAS(":|awk '{printf \"%s\", tolower($0)}'<Enter>")},
- { "gU", ALIAS(":|awk '{printf \"%s\", toupper($0)}'<Enter>")},
+ { "g~", ALIAS("<vis-prompt-show>|tr '[:lower:][:upper:]' '[:upper:][:lower:]'<Enter>") },
+ { "gu", ALIAS("<vis-prompt-show>|awk '{printf \"%s\", tolower($0)}'<Enter>")},
+ { "gU", ALIAS("<vis-prompt-show>|awk '{printf \"%s\", toupper($0)}'<Enter>")},
{ "p", ACTION(PUT_AFTER) },
{ "P", ACTION(PUT_BEFORE) },
{ "y", ACTION(OPERATOR_YANK) },
@@ -188,18 +188,18 @@ static const KeyBinding bindings_normal[] = {
{ "<C-p>", ACTION(SELECTIONS_REMOVE_LAST) },
{ "<C-r>", ACTION(REDO) },
{ "<C-u>", ACTION(SELECTIONS_PREV) },
- { "<C-w>c", ALIAS(":q<Enter>") },
+ { "<C-w>c", ALIAS("<vis-prompt-show>q<Enter>") },
{ "<C-w>h", ALIAS("<C-w>k") },
{ "<C-w>j", ACTION(WINDOW_NEXT) },
{ "<C-w>k", ACTION(WINDOW_PREV) },
{ "<C-w>l", ALIAS("<C-w>j") },
- { "<C-w>n", ALIAS(":open<Enter>") },
- { "<C-w>s", ALIAS(":split<Enter>") },
- { "<C-w>v", ALIAS(":vsplit<Enter>") },
+ { "<C-w>n", ALIAS("<vis-prompt-show>open<Enter>") },
+ { "<C-w>s", ALIAS("<vis-prompt-show>split<Enter>") },
+ { "<C-w>v", ALIAS("<vis-prompt-show>vsplit<Enter>") },
{ "<C-y>", ACTION(WINDOW_SLIDE_DOWN) },
{ "D", ALIAS("d$") },
{ "<Escape>", ACTION(MODE_NORMAL_ESCAPE) },
- { "<F1>", ALIAS(":help<Enter>") },
+ { "<F1>", ALIAS("<vis-prompt-show>help<Enter>") },
{ "ga", ACTION(UNICODE_INFO) },
{ "g8", ACTION(UTF8_INFO) },
{ "g-", ACTION(EARLIER) },
@@ -228,10 +228,10 @@ static const KeyBinding bindings_normal[] = {
{ "X", ALIAS("dh") },
{ "Y", ALIAS("y$") },
{ "zb", ACTION(WINDOW_REDRAW_BOTTOM) },
- { "ZQ", ALIAS(":q!<Enter>") },
+ { "ZQ", ALIAS("<vis-prompt-show>q!<Enter>") },
{ "zt", ACTION(WINDOW_REDRAW_TOP) },
{ "zz", ACTION(WINDOW_REDRAW_CENTER) },
- { "ZZ", ALIAS(":wq<Enter>") },
+ { "ZZ", ALIAS("<vis-prompt-show>wq<Enter>") },
{ 0 /* empty last element, array terminator */ },
};