X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.inputrc;h=04095afcee8343484a00597e90c464cce401fbfe;hb=d06fbeb326fcb79a1ae26376ac8dfab12d76754d;hp=ee986ae4792a4a1b3032fade861e25581b20530c;hpb=4e200ac9eca9a85a340cf0282975f7453c545fc0;p=dotfiles.git diff --git a/.inputrc b/.inputrc index ee986ae..04095af 100644 --- a/.inputrc +++ b/.inputrc @@ -2,14 +2,21 @@ $include /etc/inputrc -set bell-style none -set completion-ignore-case off - set meta-flag on set convert-meta off set input-meta on set output-meta on +# Make Tab autocomplete regardless of filename case +#set completion-ignore-case on + +set bell-style none +set expand-tilde 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 # the cursor. For example, when the current line is "cd ~/src/mozil", and # the cursor is on the "z", pressing Tab will not autocomplete it to "cd @@ -30,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