1 # /etc/inputrc - global inputrc for libreadline
 
   2 # See readline(3readline) and `info rluserman' for more information.
 
   8 # To allow the use of 8bit-characters like the german umlauts, uncomment
 
   9 # the line below. However this makes the meta key not work as a meta key,
 
  10 # which is annoying to those which don't need to type in 8-bit characters.
 
  12 # set convert-meta off
 
  14 # try to enable the application keypad when it is called.  Some systems
 
  15 # need this to enable the arrow keys.
 
  16 # set enable-keypad on
 
  18 # see /usr/share/doc/bash/inputrc.arrows for other codes of arrow keys
 
  20 # do not bell on tab-completion
 
  22 # set bell-style visible
 
  24 # some defaults / modifications for the emacs mode
 
  27 # allow the use of the Home/End keys
 
  28 "\e[1~": beginning-of-line
 
  31 # allow the use of the Delete/Insert keys
 
  33 "\e[2~": quoted-insert
 
  35 # mappings for "page up" and "page down" to step to the beginning/end
 
  37 # "\e[5~": beginning-of-history
 
  38 # "\e[6~": end-of-history
 
  40 # alternate mappings for "page up" and "page down" to search the history
 
  41 # "\e[5~": history-search-backward
 
  42 # "\e[6~": history-search-forward
 
  44 # mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
 
  45 "\e[1;5C": forward-word
 
  46 "\e[1;5D": backward-word
 
  48 "\e[5D": backward-word
 
  49 "\e\e[C": forward-word
 
  50 "\e\e[D": backward-word
 
  53 "\e[7~": beginning-of-line
 
  59 # for non RH/Debian xterm, can't hurt for RH/Debian xterm
 
  60 # "\eOH": beginning-of-line
 
  64 # "\e[H": beginning-of-line