inputrc 221 B

12345678910111213
  1. set editing-mode vi
  2. $if Bash
  3. Space: magic-space
  4. $endif
  5. "\e[A": history-search-backward
  6. "\e[B": history-search-forward
  7. set completion-prefix-display-length 2
  8. Control-j: menu-complete
  9. Control-k: menu-complete-backward