bashrc/.inputrc

32 lines
707 B
Plaintext
Raw Normal View History

# Source system inputrc
$include /etc/inputrc
# Use vi editing mode in all readline settings
set editing-mode vi
# Show the editing mode in the prompt
set show-mode-in-prompt on
# Insert Mode indicator
set vi-ins-mode-string [I]
# Command Mode indicator
set vi-cmd-mode-string [C]
# When tab-completing, just show ambibiguous options
# on the first press of Tab
set show-all-if-ambiguous on
# Color the common parts of the completion output
set colored-completion-prefix on
# Color completion output
set colored-stats on
# Display completions one-per-line
set completion-display-width 0
# The clear-screen shortcut is unbound by vi mode by
# default, so let's bring it back
"\C-l": clear-screen