43 lines
1.6 KiB
Plaintext
43 lines
1.6 KiB
Plaintext
# Make Tab autocomplete regardless of filename case
|
|
set completion-ignore-case on
|
|
|
|
# List all matches in case multiple possible completions are possible
|
|
set show-all-if-ambiguous on
|
|
|
|
# Immediately add a trailing slash when autocompleting symlinks to directories
|
|
set mark-symlinked-directories on
|
|
|
|
# Show all autocomplete results at once
|
|
set page-completions off
|
|
|
|
# If there are more than 200 possible completions for a word, ask to show them all
|
|
set completion-query-items 100
|
|
|
|
# Show extra file information when completing, like `ls -F` does
|
|
set visible-stats 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
|
|
|
|
# This line sets readline to display possible completions using different colors to indicate their file types.
|
|
# The colors are determined by the environmental variable LS_COLORS, which can be nicely configured.
|
|
set colored-stats On
|
|
|
|
|
|
|
|
# This line sets the completions to be listed immediately instead of ringing
|
|
# the bell, when the completing word has more than one possible completion.
|
|
set show-all-if-ambiguous On
|
|
|
|
# This line sets the completions to be listed immediately instead of ringing the bell,
|
|
# when the completing word has more than one possible completion but no partial completion can be made.
|
|
set show-all-if-unmodified On
|
|
|
|
|
|
## enable Alt-arrows for word jumping
|
|
"\e[1;3D": backward-word ### Alt left
|
|
"\e[1;3C": forward-word ### Alt right |