]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - inputrc
inputrc: Always tab complete all items.
[config/dotfiles.git] / inputrc
diff --git a/inputrc b/inputrc
index 25643b61fe1aaa54aaad0462ebaf08a8adb646e7..ab48ee6e6b84d763517a82719f501c3ef00c7be9 100644 (file)
--- a/inputrc
+++ b/inputrc
@@ -3,7 +3,21 @@
 
 # Only one <tab> is necessary to get a list of all possible options.
 set show-all-if-ambiguous on
+set show-all-if-unmodified on
 
-# Activate vi editing mode.
+# Always complete all items no matter how many there are.
+set completion-query-items -1
+# And make sure we use a pager for completions (this is also the default).
+set page-completions on
+
+# Activate Vi editing mode.
 set editing-mode vi
-set keymap vi
+
+
+# KEY BINDINGS
+
+# Also use jj to exit insert mode.
+"jj": vi-movement-mode
+
+"\C-p": previous-history
+"\C-n": next-history