X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=inputrc;h=20832dad169fe24f28b4640b3fe3775d987b1069;hb=c2cf4166456d948911ee7dce70f2ddf6f4cae6af;hp=12f2d9bc9e96cdd9eb3480cdcbf066f2e17c97cc;hpb=379429a85e512e8b7e9a3c85837a78b0c24677e4;p=config%2Fdotfiles.git diff --git a/inputrc b/inputrc index 12f2d9b..20832da 100644 --- a/inputrc +++ b/inputrc @@ -3,7 +3,25 @@ # Only one is necessary to get a list of all possible options. 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 + +# Use jj and jk to exit insert mode. +"jj": vi-movement-mode +"jk": vi-movement-mode + +"\C-p": previous-history +"\C-n": next-history