MIAOU-BASH is a collection of settings and helpers for leveraging BASH. Developer-friendly, it may be used as solo package with or without the miaou project.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1012 B

9 months ago
  1. # GNU Readline main configuration file
  2. ## completion case-insentivive and ambiguous
  3. set completion-ignore-case on
  4. set show-all-if-ambiguous on
  5. set colored-completion-prefix on
  6. set colored-stats on
  7. set mark-symlinked-directories on
  8. set visible-stats on
  9. set skip-completed-text on
  10. # display characters with the eighth bit set directly
  11. set input-meta on
  12. set output-meta on
  13. set convert-meta off
  14. # if there are 20 or more possible completions for a word,
  15. # ask whether or not the user wants to see all of them
  16. set completion-query-items 20
  17. ## ARROW up, down for history search
  18. "\e[A":history-search-backward
  19. "\e[B":history-search-forward
  20. # CTRL + Right, Left for word suppressing
  21. "\e[1;5C": forward-word
  22. "\e[1;5D": backward-word
  23. # ALT + BACKSPACE for left line suppressing
  24. "\e[3;3~": kill-line
  25. # ALT + DELETE for right line suppressing
  26. "\e\C-?": backward-kill-line
  27. # CTRL + BACKSPACE for left word suppressing
  28. "\C-H": backward-kill-word
  29. # SHIFT + DELETE for whole line suppressing
  30. "\e[3;2~": kill-whole-line