]> 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 1b24fd2f9b780ab4827af38b1e79ea31f39982b4..daa4dec465c7115b52ed286f31d80b353615bd37 100644 (file)
--- a/inputrc
+++ b/inputrc
@@ -5,6 +5,14 @@
 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
 
@@ -13,3 +21,6 @@ set editing-mode vi
 
 # Also use jj to exit insert mode.
 "jj": vi-movement-mode
+
+"\C-p": previous-history
+"\C-n": next-history