dotfiles/inputrc

37 lines
992 B
Plaintext
Raw Normal View History

2016-05-01 13:02:53 +00:00
$include /etc/inputrc
2017-06-27 06:14:12 +00:00
set bell-style none
set completion-ignore-case on
set completion-prefix-display-length 4
set completion-query-items 200
2016-05-01 13:02:53 +00:00
set editing-mode vi
2017-06-27 06:14:12 +00:00
set history-preserve-point on
set history-size 10000
set horizontal-scroll-mode on
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 09:11:19 +00:00
set show-all-if-ambiguous on
2017-06-27 06:14:12 +00:00
set show-all-if-unmodified on
set skip-completed-text on
2016-12-19 09:11:19 +00:00
set visible-stats on
2017-06-27 06:14:12 +00:00
2016-05-01 13:02:53 +00:00
$if mode=vi
2017-06-27 06:14:12 +00: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 02:34:10 +00:00
"jk": vi-movement-mode
"mù": vi-movement-mode
2017-06-27 06:14:12 +00:00
"\e[A": history-search-backward
"\e[B": history-search-forward
Control-l: clear-screen
2016-05-01 13:02:53 +00:00
$endif