1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-17 09:37:46 +01:00
dotfiles/.inputrc

20 lines
372 B
Plaintext
Raw Normal View History

2019-09-13 10:51:43 +02:00
$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
# these are for vi-command mode
Control-l: clear-screen
Control-a: beginning-of-line
set keymap vi-insert
# these are for vi-insert mode
Control-l: clear-screen
Control-a: beginning-of-line
$endif