summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--inputrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/inputrc b/inputrc
index 11d30d9..6491a40 100644
--- a/inputrc
+++ b/inputrc
@@ -1,4 +1,8 @@
# use up and down to search in history
+set keymap vi-command
+"\e[A": history-search-backward
+"\e[B": history-search-forward
+set keymap vi-insert
"\e[A": history-search-backward
"\e[B": history-search-forward