add .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
parent 174
d94a247836c8
child 177
6d15a355e17a

add .inputrc

.inputrc file | annotate | diff | comparison | revisions
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
+

mercurial