summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--inputrc17
1 files changed, 17 insertions, 0 deletions
diff --git a/inputrc b/inputrc
new file mode 100644
index 0000000..55d9827
--- /dev/null
+++ b/inputrc
@@ -0,0 +1,17 @@
+# use up and down to search in history
+"\e[A": history-search-backward
+"\e[B": history-search-forward
+
+# expand all ! history things on space
+$if Bash
+ Space: magic-space
+$endif
+
+# completion things
+set match-hidden-files off
+set visible-stats on
+"\e[Z": menu-complete
+
+# set up vi mode
+set editing-mode vi
+set keymap vi