diff options
Diffstat (limited to '')
-rw-r--r-- | .inputrc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.inputrc b/.inputrc new file mode 100644 index 0000000..49e7407 --- /dev/null +++ b/.inputrc @@ -0,0 +1,32 @@ +set editing-mode vi + +set show-mode-in-prompt on + +#$if term=linux +# set vi-ins-mode-string \1\e[?0c\2 +# set vi-cmd-mode-string \1\e[?8c\2 +#$else +# set vi-ins-mode-string \1\e[6 q\2 +# set vi-cmd-mode-string \1\e[2 q\2 +#$endif + +"\e[1;5D": backward-word +"\e[1;5C": forward-word + +set show-all-if-unmodified on +set show-all-if-ambiguous on + +# Color files by types +# Note that this may cause completion text blink in some terminals (e.g. xterm). +set colored-stats On +# Append char to indicate type +set visible-stats On +# Mark symlinked directories +set mark-symlinked-directories on +# Color the common prefix +set colored-completion-prefix on +# Color the common prefix in menu-complete +set menu-complete-display-prefix on + +set echo-control-characters off + |