summaryrefslogtreecommitdiffstats
path: root/readline/inputrc
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /readline/inputrc
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'readline/inputrc')
-rw-r--r--readline/inputrc26
1 files changed, 26 insertions, 0 deletions
diff --git a/readline/inputrc b/readline/inputrc
new file mode 100644
index 0000000..7640ae4
--- /dev/null
+++ b/readline/inputrc
@@ -0,0 +1,26 @@
+#
+# /etc/inputrc - global inputrc for readline(3)
+#
+
+set input-meta on
+set output-meta on
+set convert-meta off
+
+"\e[1~": beginning-of-line
+"\e[2~": yank
+"\e[3~": delete-char
+"\e[4~": end-of-line
+"\e[5~": beginning-of-history
+"\e[6~": end-of-history
+
+"\ep": history-search-backward
+"\en": history-search-forward
+
+$if term=xterm
+"\e[7~": beginning-of-line
+"\e[8~": end-of-line
+"\e[H": beginning-of-line
+"\e[F": end-of-line
+$endif
+
+# End of file