Added .inputrc to tweak readline behavior

This commit is contained in:
David Thurstenson 2020-06-27 17:23:11 -05:00
parent 92897567de
commit e78305f0fb
1 changed files with 27 additions and 0 deletions

27
.inputrc Normal file
View File

@ -0,0 +1,27 @@
# 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