X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.inputrc;h=5bfecb9cf8123013eabc30c6ef97db5c24b9c073;hp=efb3044344699763801ffb7559754a35aaba0ea6;hb=7ba9017ba0901c03c5337f8df1c6f30d291e2f81;hpb=405bf314d2685348d106b5f1c78e03b7e71a20bf diff --git a/.inputrc b/.inputrc index efb3044..5bfecb9 100644 --- a/.inputrc +++ b/.inputrc @@ -2,14 +2,31 @@ $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 +# ~/src/mozillail", but to "cd ~/src/mozilla". (This is supported by the +# Readline used by Bash 4.) +set skip-completed-text on + +# Show extra file information when completing, like `ls -F` does +set visible-stats on + # In all programs, all terminals, make sure this is bound. "\C-x\C-r": re-read-init-file @@ -20,7 +37,7 @@ 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 +# More intelligent PgUp/PgDn 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