summaryrefslogtreecommitdiffstats
path: root/readline/.inputrc
diff options
context:
space:
mode:
Diffstat (limited to 'readline/.inputrc')
-rw-r--r--readline/.inputrc23
1 files changed, 23 insertions, 0 deletions
diff --git a/readline/.inputrc b/readline/.inputrc
new file mode 100644
index 0000000..87a7701
--- /dev/null
+++ b/readline/.inputrc
@@ -0,0 +1,23 @@
+# 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
+
+# completion things
+set match-hidden-files off
+set visible-stats on
+
+# set up vi mode
+set editing-mode vi
+set keymap vi
+
+")": beginning-of-line
+"e": vi-change-to
+"E": vi-change-to
+"_": vi-first-print
+
+# my shell should never use the bell
+set bell-style none