dotfiles/inputrc

19 lines
417 B
Plaintext
Raw Normal View History

2016-05-01 15:02:53 +02:00
$include /etc/inputrc
set editing-mode vi
2016-12-19 10:11:19 +01:00
set show-all-if-ambiguous on
set visible-stats on
set page-completions off
2016-05-01 15:02:53 +02:00
$if mode=vi
set keymap vi-command
# these are for vi-command mode
"\e[A": history-search-backward
"\e[B": history-search-forward
2017-06-27 09:19:26 +02:00
Control-l: clear-screen
2016-05-01 15:02:53 +02:00
set keymap vi-insert
# these are for vi-insert mode
"\e[A": history-search-backward
"\e[B": history-search-forward
2017-06-27 09:19:26 +02:00
Control-l: clear-screen
2016-05-01 15:02:53 +02:00
$endif