X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.inputrc;h=04095afcee8343484a00597e90c464cce401fbfe;hb=b434e9c5186defd88e7d7529f915d7b62be2e20c;hp=e29d1c9a2c91333bcfeb125e28684a26eb9baff1;hpb=4f1e99ed55bac8ea5169f2a9e667a2a8f1f2f6a7;p=dotfiles.git diff --git a/.inputrc b/.inputrc index e29d1c9..04095af 100644 --- a/.inputrc +++ b/.inputrc @@ -12,7 +12,9 @@ set output-meta on set bell-style none set expand-tilde off -set print-completions-horizontally off +set mark-symlinked-directories on +set print-completions-horizontally on +set revert-all-at-newline on #set show-all-if-ambiguous on # Be more intelligent when autocompleting by also looking at the text after @@ -35,10 +37,14 @@ M-Tab: menu-complete #"\C-h": backward-delete-char #"\e\C-h": backward-kill-word -# PgUp/PgDn - more intelligent Up/Down behavior: use the text that has already +# PgUp/PgDn - previous/next command in history +"\e[5~": previous-history +"\e[6~": next-history + +# More intelligent Up/Down behavior: use the text that has already # been typed as the prefix for searching through commands. -"\e[5~": history-search-backward -"\e[6~": history-search-forward +"\e[A": history-search-backward +"\e[B": history-search-forward # Debug "\C-xf": dump-functions