summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/inputrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/dotfiles/inputrc b/dotfiles/inputrc
index 69d99cc..8003476 100644
--- a/dotfiles/inputrc
+++ b/dotfiles/inputrc
@@ -2,3 +2,8 @@ set bell-style none
set colored-completion-prefix on
set colored-stats on
+
+set editing-mode vi
+set show-mode-in-prompt on
+set vi-ins-mode-string \1\e[35m\2(I)\1\e[0m\2
+set vi-cmd-mode-string \1\e[33m\2(C)\1\e[0m\2