diff --git a/.inputrc b/.inputrc new file mode 100644 --- /dev/null +++ b/.inputrc @@ -0,0 +1,36 @@ +# 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 +