dotfiles/inputrc
2017-09-01 18:39:06 +02:00

36 lines
961 B
Plaintext

$include /etc/inputrc
set bell-style none
set completion-ignore-case on
set completion-prefix-display-length 4
set completion-query-items 200
set editing-mode vi
set history-preserve-point on
set history-size 10000
set horizontal-scroll-mode off
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
set show-all-if-ambiguous on
set show-all-if-unmodified on
set skip-completed-text on
set visible-stats on
$if mode=vi
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
"jk": vi-movement-mode
"\e[A": history-search-backward
"\e[B": history-search-forward
Control-l: clear-screen
$endif