.inputrc 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Make Tab autocomplete regardless of filename case
  2. set completion-ignore-case on
  3. # List all matches in case multiple possible completions are possible
  4. set show-all-if-ambiguous on
  5. # Immediately add a trailing slash when autocompleting symlinks to directories
  6. set mark-symlinked-directories on
  7. # Show all autocomplete results at once
  8. set page-completions off
  9. # If there are more than 200 possible completions for a word, ask to show them all
  10. set completion-query-items 100
  11. # Show extra file information when completing, like `ls -F` does
  12. set visible-stats on
  13. # Be more intelligent when autocompleting by also looking at the text after
  14. # the cursor. For example, when the current line is "cd ~/src/mozil", and
  15. # the cursor is on the "z", pressing Tab will not autocomplete it to "cd
  16. # ~/src/mozillail", but to "cd ~/src/mozilla". (This is supported by the
  17. # Readline used by Bash 4.)
  18. set skip-completed-text on
  19. # This line sets readline to display possible completions using different colors to indicate their file types.
  20. # The colors are determined by the environmental variable LS_COLORS, which can be nicely configured.
  21. set colored-stats On
  22. # This line sets the completions to be listed immediately instead of ringing
  23. # the bell, when the completing word has more than one possible completion.
  24. set show-all-if-ambiguous On
  25. # This line sets the completions to be listed immediately instead of ringing the bell,
  26. # when the completing word has more than one possible completion but no partial completion can be made.
  27. set show-all-if-unmodified On
  28. ## enable Alt-arrows for word jumping
  29. "\e[1;3D": backward-word ### Alt left
  30. "\e[1;3C": forward-word ### Alt right