1 # This file controls the behaviour of line input editing for
 
   2 # programs that use the GNU Readline library.  Existing
 
   3 # programs include FTP, Bash, and GDB.
 
   5 # You can re-read the inputrc file with C-x C-r.
 
   6 # Lines beginning with '#' are comments.
 
  13 set horizontal-scroll-mode off
 
  14 set history-preserve-point on
 
  15 set mark-directories on
 
  16 set mark-symlinked-directories on
 
  17 set match-hidden-files off
 
  20 set page-completions off
 
  21 set completion-query-items 2000
 
  22 set completion-ignore-case off
 
  23 set show-all-if-ambiguous on
 
  24 set show-all-if-unmodified on
 
  25 set completion-prefix-display-length 10
 
  26 set print-completions-horizontally off
 
  28 set editing-mode emacs
 
  31 "\C-x\C-r": re-read-init-file
 
  33 C-n: history-search-forward
 
  34 C-p: history-search-backward
 
  38 "\e[A": history-search-backward
 
  39 "\e[B": history-search-forward
 
  41 # for linux console and RH/Debian xterm
 
  42 "\e[1~": beginning-of-line
 
  44 "\e[5~": beginning-of-history
 
  45 "\e[6~": end-of-history
 
  47 "\e[2~": quoted-insert
 
  49 "\e[5D": backward-word
 
  50 "\e\e[C": forward-word
 
  51 "\e\e[D": backward-word
 
  52 "\e[1;5C": forward-word
 
  53 "\e[1;5D": backward-word
 
  62 # for non RH/Debian xterm, can't hurt for RH/DEbian xterm
 
  63 "\eOH": beginning-of-line
 
  67 "\e[H": beginning-of-line