inputrc 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # /etc/inputrc - global inputrc for libreadline
  2. # See readline(3readline) and `info readline' for more information.
  3. # Be 8 bit clean.
  4. set input-meta on
  5. set output-meta on
  6. set bell-style visible
  7. # To allow the use of 8bit-characters like the german umlauts, comment out
  8. # the line below. However this makes the meta key not work as a meta key,
  9. # which is annoying to those which don't need to type in 8-bit characters.
  10. # set convert-meta off
  11. "\e0d": backward-word
  12. "\e0c": forward-word
  13. "\e[h": beginning-of-line
  14. "\e[f": end-of-line
  15. "\e[1~": beginning-of-line
  16. "\e[4~": end-of-line
  17. #"\e[5~": beginning-of-history
  18. #"\e[6~": end-of-history
  19. "\e[3~": delete-char
  20. "\e[2~": quoted-insert
  21. # Common standard keypad and cursor
  22. # (codes courtsey Werner Fink, <werner@suse.de>)
  23. #"\e[1~": history-search-backward
  24. "\e[2~": yank
  25. "\e[3~": delete-char
  26. #"\e[4~": set-mark
  27. "\e[5~": history-search-backward
  28. "\e[6~": history-search-forward
  29. # Normal keypad and cursor of xterm
  30. "\e[F": end-of-line
  31. "\e[H": beginning-of-line
  32. # Application keypad and cursor of xterm
  33. "\eOA": previous-history
  34. "\eOC": forward-char
  35. "\eOB": next-history
  36. "\eOD": backward-char
  37. "\eOF": end-of-line
  38. "\eOH": beginning-of-line