cdotfis/dotfiles/.config/shell/inputrc

20 lines
366 B
Plaintext

$include /etc/inputrc
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
"k": history-search-backward
"j": history-search-forward
set keymap vi-insert
Control-l: clear-screen
Control-a: beginning-of-line
$endif