]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - inputrc
lesskey: Add ^P/^N for line-edit to replace the arrow keys.
[config/dotfiles.git] / inputrc
diff --git a/inputrc b/inputrc
index b18da701cb36a0fda34715509bfb37621fc7b328..daa4dec465c7115b52ed286f31d80b353615bd37 100644 (file)
--- a/inputrc
+++ b/inputrc
@@ -5,6 +5,22 @@
 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
+
+# Add character to files denoting the type when completing file names.
+set visible-stats 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