inputrc 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # /etc/inputrc - global inputrc for libreadline
  2. # See readline(3readline) and `info rluserman' for more information.
  3. # Be 8 bit clean.
  4. set input-meta on
  5. set output-meta on
  6. # To allow the use of 8bit-characters like the german umlauts, comment out
  7. # the line below. However this makes the meta key not work as a meta key,
  8. # which is annoying to those which don't need to type in 8-bit characters.
  9. # set convert-meta off
  10. # try to enable the application keypad when it is called. Some systems
  11. # need this to enable the arrow keys.
  12. # set enable-keypad on
  13. # see /usr/share/doc/bash/inputrc.arrows for other codes of arrow keys
  14. # do not bell on tab-completion
  15. # set bell-style none
  16. # some defaults / modifications for the emacs mode
  17. $if mode=emacs
  18. # allow the use of the Home/End keys
  19. # "\e[1~": beginning-of-line
  20. # "\e[4~": end-of-line
  21. # allow the use of the Delete/Insert keys
  22. # "\e[3~": delete-char
  23. # "\e[2~": quoted-insert
  24. # mappings for "page up" and "page down" to step to the beginning/end
  25. # of the history
  26. # "\e[5~": beginning-of-history
  27. # "\e[6~": end-of-history
  28. # alternate mappings for "page up" and "page down" to search the history
  29. # "\e[5~": history-search-backward
  30. # "\e[6~": history-search-forward
  31. # # mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
  32. # "\e[5C": forward-word
  33. # "\e[5D": backward-word
  34. # "\e\e[C": forward-word
  35. # "\e\e[D": backward-word
  36. # $if term=rxvt
  37. # "\e[8~": end-of-line
  38. # $endif
  39. # for non RH/Debian xterm, can't hurt for RH/DEbian xterm
  40. # "\eOH": beginning-of-line
  41. # "\eOF": end-of-line
  42. # for freebsd console
  43. # "\e[H": beginning-of-line
  44. # "\e[F": end-of-line
  45. $endif