dotfiles/inputrc

36 lines
961 B
Plaintext
Raw Normal View History

2016-05-01 15:02:53 +02:00
$include /etc/inputrc
2017-06-27 08:14:12 +02:00
set bell-style none
set completion-ignore-case on
set completion-prefix-display-length 4
set completion-query-items 200
2016-05-01 15:02:53 +02:00
set editing-mode vi
2017-06-27 08:14:12 +02:00
set history-preserve-point on
set history-size 10000
2017-09-01 18:39:06 +02:00
set horizontal-scroll-mode off
2017-06-27 08:14:12 +02:00
set mark-directories on
set mark-modified-lines off
set mark-symlinked-directories on
set match-hidden-files on
set page-completions on
set print-completions-horizontally on
set revert-all-at-newline off
2016-12-19 10:11:19 +01:00
set show-all-if-ambiguous on
2017-06-27 08:14:12 +02:00
set show-all-if-unmodified on
set skip-completed-text on
2016-12-19 10:11:19 +01:00
set visible-stats on
2017-06-27 08:14:12 +02:00
2016-05-01 15:02:53 +02:00
$if mode=vi
2017-06-27 08:14:12 +02:00
set keymap vi-command
# these are for vi-command mode
"\e[A": history-search-backward
"\e[B": history-search-forward
Control-l: clear-screen
set keymap vi-insert
# these are for vi-insert mode
2017-07-26 04:34:10 +02:00
"jk": vi-movement-mode
2017-06-27 08:14:12 +02:00
"\e[A": history-search-backward
"\e[B": history-search-forward
Control-l: clear-screen
2016-05-01 15:02:53 +02:00
$endif