summaryrefslogtreecommitdiffstats
path: root/debian/inputrc.arrows
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:51:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:51:57 +0000
commit1c38c7a67e9d4d68e27c6ad183d1cccbb5596ddf (patch)
tree038435729af9aceab96d4484e895e310740e9885 /debian/inputrc.arrows
parentAdding upstream version 8.2. (diff)
downloadreadline-debian.tar.xz
readline-debian.zip
Adding debian version 8.2-1.3.debian/8.2-1.3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/inputrc.arrows')
-rw-r--r--debian/inputrc.arrows30
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/inputrc.arrows b/debian/inputrc.arrows
new file mode 100644
index 0000000..21aed08
--- /dev/null
+++ b/debian/inputrc.arrows
@@ -0,0 +1,30 @@
+# This file controls the behaviour of line input editing for
+# programs that use the Gnu Readline library.
+#
+# Arrow keys in keypad mode
+#
+"\C-[OD" backward-char
+"\C-[OC" forward-char
+"\C-[OA" previous-history
+"\C-[OB" next-history
+#
+# Arrow keys in ANSI mode
+#
+"\C-[[D" backward-char
+"\C-[[C" forward-char
+"\C-[[A" previous-history
+"\C-[[B" next-history
+#
+# Arrow keys in 8 bit keypad mode
+#
+"\C-M-OD" backward-char
+"\C-M-OC" forward-char
+"\C-M-OA" previous-history
+"\C-M-OB" next-history
+#
+# Arrow keys in 8 bit ANSI mode
+#
+"\C-M-[D" backward-char
+"\C-M-[C" forward-char
+"\C-M-[A" previous-history
+"\C-M-[B" next-history