.inputrc

Thu, 02 Apr 2015 10:09:33 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 02 Apr 2015 10:09:33 -0400
changeset 176
a57e2b17ad70
child 782
a387569893af
permissions
-rw-r--r--

add .inputrc

# Two escapes clear command line.
"\e\e": "\C-a\C-k"

# Tab to menu complete
# "\t": menu-complete

# Incremental searching with Up and Down and Left and Right

$if mode=emacs
  "\e[A": history-search-backward
  "\e[B": history-search-forward
  "\e\e[C": forward-word
  "\e\e[D": backward-word
$endif

set completion-ignore-case On
#set completion-prefix-display-length 2
set expand-tilde on
set mark-directories on
set show-all-if-ambiguous on
set visible-stats on

set bell-style off

set meta-flag on
set input-meta on
set convert-meta off
set output-meta on 

$if Bash
  #do history expansion when space entered
  Space: magic-space
$endif

$include /etc/inputrc

mercurial