summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/readline/inputrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/readline/inputrc b/.config/readline/inputrc
index a1aee6a..500d0b4 100644
--- a/.config/readline/inputrc
+++ b/.config/readline/inputrc
@@ -1 +1,9 @@
+set editing-mode vi
+
+$if editing-mode == vi
+ set show-mode-in-prompt on
+ set vi-ins-mode-string "\1\e[5 q\2"
+ set vi-cmd-mode-string "\1\e[2 q\2"
+$endif
+
"\C-l": clear-screen