.inputrc

Tue, 17 Jan 2017 17:38:01 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 17 Jan 2017 17:38:01 -0500
changeset 474
fd9cf4712aad
parent 176
a57e2b17ad70
child 782
a387569893af
permissions
-rw-r--r--

add reader and tab-nav bindings

# 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