.inputrc
set completion-ignore-case on
set completion-prefix-display-length 2
set show-all-if-ambiguous on
set show-all-if-unmodified on
set completion-map-case on
set expand-tilde on
set visible-stats on
Space: magic-space
 
set editing-mode vi
set show-mode-in-prompt on
 
set keymap vi-command
Control-l: clear-screen
 
set keymap vi-insert
Control-l: clear-screen
Control-n: next-history
Control-p: previous-history