dotfiles/.config/inputrc

48 lines
930 B
Text
Raw Normal View History

$include /etc/inputrc
set colored-stats On
set completion-prefix-display-length 6
set mark-symlinked-directories On
set bell-style none
set completion-ignore-case off
set show-all-if-ambiguous on
set menu-complete-display-prefix on
"\e[Z": menu-complete
"\e[A": history-search-backward
"\e[B": history-search-forward
# "\eOd": backward-word
# "\eOc": forward-word
#
# # for linux console
# "\e[1~": beginning-of-line
# "\e[4~": end-of-line
# "\e[5~": beginning-of-history
# "\e[6~": end-of-history
# "\e[3~": delete-char
# "\e[2~": quoted-insert
#
# # for xterm
# "\eOH": beginning-of-line
# "\eOF": end-of-line
set editing-mode vi
$if mode=vi
set show-mode-in-prompt on
set vi-ins-mode-string \1\e\[6 q\2
set vi-cmd-mode-string \1\e\[2 q\2
set keymap vi-command
Control-l: clear-screen
Control-a: beginning-of-line
set keymap vi-insert
Control-l: clear-screen
Control-a: beginning-of-line
"\C-i": menu-complete
$endif