X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=inputrc;h=981c6213ac6ae4a27a7e7a4e25479681217084ee;hb=63303c2286c404830994aa1a7f7f62dc1e2be248;hp=ab48ee6e6b84d763517a82719f501c3ef00c7be9;hpb=7ff47f8d37cdf3c51ad9b345ef1b58f9173e34eb;p=config%2Fdotfiles.git diff --git a/inputrc b/inputrc index ab48ee6..981c621 100644 --- a/inputrc +++ b/inputrc @@ -10,14 +10,21 @@ 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 -"\C-p": previous-history -"\C-n": next-history +# / 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