Configuration for bash and readline (for use with vcsh)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
707 B

# 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