Added .inputrc to tweak readline behavior
This commit is contained in:
parent
92897567de
commit
e78305f0fb
|
@ -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
|
Loading…
Reference in New Issue