inputrc 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # /etc/inputrc: Initialization file used by readline(3)
  2. #
  3. # This file controls the behaviour of line input editing for programs
  4. # that use the GNU Readline library. For more information, see the
  5. # manual page - section INITIALIZATION FILE
  6. #
  7. # Controls what happens when readline wants to ring the terminal bell
  8. #
  9. # Value: none, visible, audible
  10. #
  11. set bell-style audible
  12. # Enable the eight-bit input
  13. #
  14. # Value: on, off
  15. #
  16. set input-meta on
  17. # Allow iso-latin1 characters to be inserted
  18. # rather than converted to prefix-meta sequences
  19. #
  20. # Value: on, off
  21. #
  22. set convert-meta off
  23. # Display characters with the eighth bit set directly
  24. # rather than as meta-prefixed characters
  25. #
  26. # Value: on, off
  27. #
  28. set output-meta on
  29. # If there are more than X possible completions for
  30. # a word, ask the user if he wants to see all of them
  31. #
  32. # Value: <integer greater than or equal to zero>
  33. #
  34. set completion-query-items 130
  35. # Use a single line for display, scrolling the input
  36. # horizontally on a single screen line when it becomes
  37. # longer than the screen width
  38. #
  39. # Value: on, off
  40. #
  41. set horizontal-scroll-mode on
  42. # Linux console
  43. "\e[1~": beginning-of-line
  44. "\e[4~": end-of-line
  45. "\e[5~": beginning-of-history
  46. "\e[6~": end-of-history
  47. "\e[3~": delete-char
  48. "\e[2~": quoted-insert
  49. # Xterm
  50. "\eOH": beginning-of-line
  51. "\eOF": end-of-line
  52. # Aterm / Eterm
  53. "\eOd": backward-word
  54. "\eOc": forward-word