]> 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 b18da701cb36a0fda34715509bfb37621fc7b328..ab48ee6e6b84d763517a82719f501c3ef00c7be9 100644 (file)
--- a/inputrc
+++ b/inputrc
@@ -5,6 +5,19 @@
 set show-all-if-ambiguous on
 set show-all-if-unmodified on
 
+# 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