summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--by_host/Darwin/input/.inputrc20
-rw-r--r--by_host/Linux/input/.inputrc6
2 files changed, 26 insertions, 0 deletions
diff --git a/by_host/Darwin/input/.inputrc b/by_host/Darwin/input/.inputrc
new file mode 100644
index 0000000..0fe68cf
--- /dev/null
+++ b/by_host/Darwin/input/.inputrc
@@ -0,0 +1,20 @@
+"\e[1~": beginning-of-line
+"\e[4~": end-of-line
+"\e[5~": history-search-backward
+"\e[6~": history-search-forward
+"\e[3~": delete-char
+"\e[2~": quoted-insert
+"\e[5C": forward-word
+"\e[5D": backward-word
+"\e\e[C": forward-word
+"\e\e[D": backward-word
+
+set completion-ignore-case on
+set expand-tilde on
+set convert-meta off
+set input-meta on
+set output-meta on
+set show-all-if-ambiguous on
+set visible-stats on
+set -o vi
+
diff --git a/by_host/Linux/input/.inputrc b/by_host/Linux/input/.inputrc
new file mode 100644
index 0000000..b08e399
--- /dev/null
+++ b/by_host/Linux/input/.inputrc
@@ -0,0 +1,6 @@
+"\e[A": history-search-backward
+"\e[B": history-search-forward
+
+set show-all-if-ambiguous on
+set completion-ignore-case on
+