X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=inputrc;h=981c6213ac6ae4a27a7e7a4e25479681217084ee;hb=ad26dac43cbd7b8acb92d4f5ec7431d8022703ac;hp=1b24fd2f9b780ab4827af38b1e79ea31f39982b4;hpb=8eb880d47c738a822a9e9df12140369f4c79dc44;p=config%2Fdotfiles.git diff --git a/inputrc b/inputrc index 1b24fd2..981c621 100644 --- a/inputrc +++ b/inputrc @@ -5,11 +5,26 @@ 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 # KEY BINDINGS -# Also use jj to exit insert mode. +# Use jj and jk to exit insert mode. "jj": vi-movement-mode +"jk": vi-movement-mode + +# / with the additional effect that only lines starting with the +# current input are matched. Very useful to recall old commands quickly - just +# type the first few characters. +"\C-p": history-search-backward +"\C-n": history-search-forward