blob: 584da9a0c6ddb3c9ffe7e2a3b6a8345b0c883680 (
plain) (
tree)
|
|
# Never ring any sort of bell during line reading
set bell-style none
# Ignore case when matching and completing paths
set completion-ignore-case On
# Treat underscores and hyphens the same way for completion purposes
set completion-map-case On
# Show me up to 5,000 completion items, don't be shy
set completion-query-items 5000
# Don't display control characters like ^C if I input them
set echo-control-characters Off
# Expand tilde to full path on completion
set expand-tilde On
# Add a trailing slash for completed symlink directories
set mark-symlinked-directories On
# Don't paginate possible completions
set page-completions Off
# Show multiple completions on first tab press
set show-all-if-ambiguous On
# Don't re-complete already completed text in the middle of a word
set skip-completed-text On
# Bash macros
$if Bash
# Alt-E (for exec) to prepend "exec " to a command and return to the end of
# the line
"\ee": "\C-aexec \C-e"
# Alt-H (for home) to go $HOME
"\eh": "cd\C-j"
# Alt-M (for muxer) to run tmux
"\em": "tmux\C-j"
# Alt-L (for ls) to run ls -Al
"\el": "ls -Al\C-j"
$endif
|