.inputrc

Wed, 11 Apr 2018 23:38:35 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 11 Apr 2018 23:38:35 -0400
changeset 706
d61b23bfb605
parent 176
a57e2b17ad70
child 782
a387569893af
permissions
-rw-r--r--

try zsh vi mode with an indicator

# 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