summaryrefslogtreecommitdiffstats
path: root/source/a/etc/_etc/etc/inputrc.new
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/etc/_etc/etc/inputrc.new')
-rw-r--r--source/a/etc/_etc/etc/inputrc.new32
1 files changed, 32 insertions, 0 deletions
diff --git a/source/a/etc/_etc/etc/inputrc.new b/source/a/etc/_etc/etc/inputrc.new
new file mode 100644
index 000000000..0121f7b3c
--- /dev/null
+++ b/source/a/etc/_etc/etc/inputrc.new
@@ -0,0 +1,32 @@
+# /etc/inputrc
+# This file configures keyboard input for programs using readline.
+# See "man 3 readline" for more examples.
+
+# Configure the system bell. Options are none, visible, and audible.
+#set bell-style none
+
+# Enable 8 bit input.
+set meta-flag On
+set input-meta On
+set convert-meta Off
+set output-meta On
+
+# Set various nice escape sequences:
+"\eOd": backward-word
+"\eOc": forward-word
+
+# for linux console
+"\e[1~": beginning-of-line
+"\e[4~": end-of-line
+"\e[5~": beginning-of-history
+"\e[6~": end-of-history
+"\e[3~": delete-char
+"\e[2~": quoted-insert
+
+# for xterm
+"\eOH": beginning-of-line
+"\eOF": end-of-line
+
+# for freebsd console
+"\e[H": beginning-of-line
+"\e[F": end-of-line