aboutsummaryrefslogtreecommitdiffstats
path: root/readline
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-26 10:44:58 +0200
committerMattias Andrée <maandree@kth.se>2021-06-26 10:45:01 +0200
commit3e7d34263a2a53c8a85e6b0a62b65bf3003d0122 (patch)
treea9730ed04288c3496d79e44e218225755f9ee915 /readline
parentbus xinitrc: create display bus, not audio bus (diff)
downloaddotfiles-3e7d34263a2a53c8a85e6b0a62b65bf3003d0122.tar.gz
dotfiles-3e7d34263a2a53c8a85e6b0a62b65bf3003d0122.tar.bz2
dotfiles-3e7d34263a2a53c8a85e6b0a62b65bf3003d0122.tar.xz
Add inputrc for readline + m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'readline')
-rw-r--r--readline/Makefile18
-rw-r--r--readline/inputrc980
2 files changed, 998 insertions, 0 deletions
diff --git a/readline/Makefile b/readline/Makefile
new file mode 100644
index 0000000..288907c
--- /dev/null
+++ b/readline/Makefile
@@ -0,0 +1,18 @@
+.POSIX:
+include ../common.mk
+
+install:
+ mkdir -p -- ~/.config
+ test ! -d ~/.config/inputrc
+ test ! -d ~/.inputrc
+ ln -sf -- ~/.dotfiles/readline/inputrc ~/.config/inputrc
+ ln -sf -- .config/inputrc ~/.inputrc
+
+uninstall:
+ -if ! $(CHECK_INSTALLED) readline 2>/dev/null && \
+ ! $(CHECK_INSTALLED) libreadline 2>/dev/null; then \
+ unlink -- ~/.config/inputrc; \
+ unlink -- ~/.inputrc; \
+ fi
+
+.PHONY: install uninstall
diff --git a/readline/inputrc b/readline/inputrc
new file mode 100644
index 0000000..bb2f7fb
--- /dev/null
+++ b/readline/inputrc
@@ -0,0 +1,980 @@
+set bell-style none
+
+set meta-flag on
+set input-meta on
+set convert-meta off
+set output-meta on
+
+$if mode=emacs
+
+"\eOA": previous-history
+"\e[A": previous-history
+"\e[a": previous-history
+"\e[1A": previous-history
+"\e[1a": previous-history
+"\e[1;1A": previous-history
+"\e[1;1a": previous-history
+"\e[2A": previous-history
+"\e[2a": previous-history
+"\e[1;2A": previous-history
+"\e[1;2a": previous-history
+"\e[3A": previous-history
+"\e[3a": previous-history
+"\e[1;3A": previous-history
+"\e[1;3a": previous-history
+"\e[4A": previous-history
+"\e[4a": previous-history
+"\e[1;4A": previous-history
+"\e[1;4a": previous-history
+"\e[5A": previous-history
+"\e[5a": previous-history
+"\e[1;5A": previous-history
+"\e[1;5a": previous-history
+"\e[6A": previous-history
+"\e[6a": previous-history
+"\e[1;6A": previous-history
+"\e[1;6a": previous-history
+"\e[7A": previous-history
+"\e[7a": previous-history
+"\e[1;7A": previous-history
+"\e[1;7a": previous-history
+"\e[8A": previous-history
+"\e[8a": previous-history
+"\e[1;8A": previous-history
+"\e[1;8a": previous-history
+
+"\e\eOA": previous-history
+"\e\e[A": previous-history
+"\e\e[a": previous-history
+"\e\e[1A": previous-history
+"\e\e[1a": previous-history
+"\e\e[1;1A": previous-history
+"\e\e[1;1a": previous-history
+"\e\e[2A": previous-history
+"\e\e[2a": previous-history
+"\e\e[1;2A": previous-history
+"\e\e[1;2a": previous-history
+"\e\e[3A": previous-history
+"\e\e[3a": previous-history
+"\e\e[1;3A": previous-history
+"\e\e[1;3a": previous-history
+"\e\e[4A": previous-history
+"\e\e[4a": previous-history
+"\e\e[1;4A": previous-history
+"\e\e[1;4a": previous-history
+"\e\e[5A": previous-history
+"\e\e[5a": previous-history
+"\e\e[1;5A": previous-history
+"\e\e[1;5a": previous-history
+"\e\e[6A": previous-history
+"\e\e[6a": previous-history
+"\e\e[1;6A": previous-history
+"\e\e[1;6a": previous-history
+"\e\e[7A": previous-history
+"\e\e[7a": previous-history
+"\e\e[1;7A": previous-history
+"\e\e[1;7a": previous-history
+"\e\e[8A": previous-history
+"\e\e[8a": previous-history
+"\e\e[1;8A": previous-history
+"\e\e[1;8a": previous-history
+
+"\eOB": next-history
+"\e[B": next-history
+"\e[b": next-history
+"\e[1B": next-history
+"\e[1b": next-history
+"\e[1;1B": next-history
+"\e[1;1b": next-history
+"\e[2B": next-history
+"\e[2b": next-history
+"\e[1;2B": next-history
+"\e[1;2b": next-history
+"\e[3B": next-history
+"\e[3b": next-history
+"\e[1;3B": next-history
+"\e[1;3b": next-history
+"\e[4B": next-history
+"\e[4b": next-history
+"\e[1;4B": next-history
+"\e[1;4b": next-history
+"\e[5B": next-history
+"\e[5b": next-history
+"\e[1;5B": next-history
+"\e[1;5b": next-history
+"\e[6B": next-history
+"\e[6b": next-history
+"\e[1;6B": next-history
+"\e[1;6b": next-history
+"\e[7B": next-history
+"\e[7b": next-history
+"\e[1;7B": next-history
+"\e[1;7b": next-history
+"\e[8B": next-history
+"\e[8b": next-history
+"\e[1;8B": next-history
+"\e[1;8b": next-history
+
+"\e\eOB": next-history
+"\e\e[B": next-history
+"\e\e[b": next-history
+"\e\e[1B": next-history
+"\e\e[1b": next-history
+"\e\e[1;1B": next-history
+"\e\e[1;1b": next-history
+"\e\e[2B": next-history
+"\e\e[2b": next-history
+"\e\e[1;2B": next-history
+"\e\e[1;2b": next-history
+"\e\e[3B": next-history
+"\e\e[3b": next-history
+"\e\e[1;3B": next-history
+"\e\e[1;3b": next-history
+"\e\e[4B": next-history
+"\e\e[4b": next-history
+"\e\e[1;4B": next-history
+"\e\e[1;4b": next-history
+"\e\e[5B": next-history
+"\e\e[5b": next-history
+"\e\e[1;5B": next-history
+"\e\e[1;5b": next-history
+"\e\e[6B": next-history
+"\e\e[6b": next-history
+"\e\e[1;6B": next-history
+"\e\e[1;6b": next-history
+"\e\e[7B": next-history
+"\e\e[7b": next-history
+"\e\e[1;7B": next-history
+"\e\e[1;7b": next-history
+"\e\e[8B": next-history
+"\e\e[8b": next-history
+"\e\e[1;8B": next-history
+"\e\e[1;8b": next-history
+
+"\eOF": end-of-line
+"\e[F": end-of-line
+"\e[4~": end-of-line
+"\e[8~": end-of-line
+"\e[1F": end-of-line
+"\e[1;1F": end-of-line
+"\e[1;4~": end-of-line
+"\e[1;8~": end-of-line
+"\e[1;4$": end-of-line
+"\e[1;8$": end-of-line
+"\e[1;4@": end-of-line
+"\e[1;8@": end-of-line
+"\e[1;4^": end-of-line
+"\e[1;8^": end-of-line
+"\e[2F": end-of-line
+"\e[1;2F": end-of-line
+"\e[2;4~": end-of-line
+"\e[2;8~": end-of-line
+"\e[2;4$": end-of-line
+"\e[2;8$": end-of-line
+"\e[2;4@": end-of-line
+"\e[2;8@": end-of-line
+"\e[2;4^": end-of-line
+"\e[2;8^": end-of-line
+"\e[3F": end-of-line
+"\e[1;3F": end-of-line
+"\e[3;4~": end-of-line
+"\e[3;8~": end-of-line
+"\e[3;4$": end-of-line
+"\e[3;8$": end-of-line
+"\e[3;4@": end-of-line
+"\e[3;8@": end-of-line
+"\e[3;4^": end-of-line
+"\e[3;8^": end-of-line
+"\e[4F": end-of-line
+"\e[1;4F": end-of-line
+"\e[4;4~": end-of-line
+"\e[4;8~": end-of-line
+"\e[4;4$": end-of-line
+"\e[4;8$": end-of-line
+"\e[4;4@": end-of-line
+"\e[4;8@": end-of-line
+"\e[4;4^": end-of-line
+"\e[4;8^": end-of-line
+"\e[5F": end-of-line
+"\e[1;5F": end-of-line
+"\e[5;4~": end-of-line
+"\e[5;8~": end-of-line
+"\e[5;4$": end-of-line
+"\e[5;8$": end-of-line
+"\e[5;4@": end-of-line
+"\e[5;8@": end-of-line
+"\e[5;4^": end-of-line
+"\e[5;8^": end-of-line
+"\e[6F": end-of-line
+"\e[1;6F": end-of-line
+"\e[6;4~": end-of-line
+"\e[6;8~": end-of-line
+"\e[6;4$": end-of-line
+"\e[6;8$": end-of-line
+"\e[6;4@": end-of-line
+"\e[6;8@": end-of-line
+"\e[6;4^": end-of-line
+"\e[6;8^": end-of-line
+"\e[7F": end-of-line
+"\e[1;7F": end-of-line
+"\e[7;4~": end-of-line
+"\e[7;8~": end-of-line
+"\e[7;4$": end-of-line
+"\e[7;8$": end-of-line
+"\e[7;4@": end-of-line
+"\e[7;8@": end-of-line
+"\e[7;4^": end-of-line
+"\e[7;8^": end-of-line
+"\e[8F": end-of-line
+"\e[1;8F": end-of-line
+"\e[8;4~": end-of-line
+"\e[8;8~": end-of-line
+"\e[8;4$": end-of-line
+"\e[8;8$": end-of-line
+"\e[8;4@": end-of-line
+"\e[8;8@": end-of-line
+"\e[8;4^": end-of-line
+"\e[8;8^": end-of-line
+
+"\e\eOF": end-of-line
+"\e\e[F": end-of-line
+"\e\e[4~": end-of-line
+"\e\e[8~": end-of-line
+"\e\e[1F": end-of-line
+"\e\e[1;1F": end-of-line
+"\e\e[1;4~": end-of-line
+"\e\e[1;8~": end-of-line
+"\e\e[1;4$": end-of-line
+"\e\e[1;8$": end-of-line
+"\e\e[1;4@": end-of-line
+"\e\e[1;8@": end-of-line
+"\e\e[1;4^": end-of-line
+"\e\e[1;8^": end-of-line
+"\e\e[2F": end-of-line
+"\e\e[1;2F": end-of-line
+"\e\e[2;4~": end-of-line
+"\e\e[2;8~": end-of-line
+"\e\e[2;4$": end-of-line
+"\e\e[2;8$": end-of-line
+"\e\e[2;4@": end-of-line
+"\e\e[2;8@": end-of-line
+"\e\e[2;4^": end-of-line
+"\e\e[2;8^": end-of-line
+"\e\e[3F": end-of-line
+"\e\e[1;3F": end-of-line
+"\e\e[3;4~": end-of-line
+"\e\e[3;8~": end-of-line
+"\e\e[3;4$": end-of-line
+"\e\e[3;8$": end-of-line
+"\e\e[3;4@": end-of-line
+"\e\e[3;8@": end-of-line
+"\e\e[3;4^": end-of-line
+"\e\e[3;8^": end-of-line
+"\e\e[4F": end-of-line
+"\e\e[1;4F": end-of-line
+"\e\e[4;4~": end-of-line
+"\e\e[4;8~": end-of-line
+"\e\e[4;4$": end-of-line
+"\e\e[4;8$": end-of-line
+"\e\e[4;4@": end-of-line
+"\e\e[4;8@": end-of-line
+"\e\e[4;4^": end-of-line
+"\e\e[4;8^": end-of-line
+"\e\e[5F": end-of-line
+"\e\e[1;5F": end-of-line
+"\e\e[5;4~": end-of-line
+"\e\e[5;8~": end-of-line
+"\e\e[5;4$": end-of-line
+"\e\e[5;8$": end-of-line
+"\e\e[5;4@": end-of-line
+"\e\e[5;8@": end-of-line
+"\e\e[5;4^": end-of-line
+"\e\e[5;8^": end-of-line
+"\e\e[6F": end-of-line
+"\e\e[1;6F": end-of-line
+"\e\e[6;4~": end-of-line
+"\e\e[6;8~": end-of-line
+"\e\e[6;4$": end-of-line
+"\e\e[6;8$": end-of-line
+"\e\e[6;4@": end-of-line
+"\e\e[6;8@": end-of-line
+"\e\e[6;4^": end-of-line
+"\e\e[6;8^": end-of-line
+"\e\e[7F": end-of-line
+"\e\e[1;7F": end-of-line
+"\e\e[7;4~": end-of-line
+"\e\e[7;8~": end-of-line
+"\e\e[7;4$": end-of-line
+"\e\e[7;8$": end-of-line
+"\e\e[7;4@": end-of-line
+"\e\e[7;8@": end-of-line
+"\e\e[7;4^": end-of-line
+"\e\e[7;8^": end-of-line
+"\e\e[8F": end-of-line
+"\e\e[1;8F": end-of-line
+"\e\e[8;4~": end-of-line
+"\e\e[8;8~": end-of-line
+"\e\e[8;4$": end-of-line
+"\e\e[8;8$": end-of-line
+"\e\e[8;4@": end-of-line
+"\e\e[8;8@": end-of-line
+"\e\e[8;4^": end-of-line
+"\e\e[8;8^": end-of-line
+
+"\eOH": beginning-of-line
+"\e[H": beginning-of-line
+"\e[1~": beginning-of-line
+"\e[7~": beginning-of-line
+"\e[1H": beginning-of-line
+"\e[1;1H": beginning-of-line
+"\e[1;1~": beginning-of-line
+"\e[1;7~": beginning-of-line
+"\e[1;1$": beginning-of-line
+"\e[1;7$": beginning-of-line
+"\e[1;1@": beginning-of-line
+"\e[1;7@": beginning-of-line
+"\e[1;1^": beginning-of-line
+"\e[1;7^": beginning-of-line
+"\e[2H": beginning-of-line
+"\e[1;2H": beginning-of-line
+"\e[2;1~": beginning-of-line
+"\e[2;7~": beginning-of-line
+"\e[2;1$": beginning-of-line
+"\e[2;7$": beginning-of-line
+"\e[2;1@": beginning-of-line
+"\e[2;7@": beginning-of-line
+"\e[2;1^": beginning-of-line
+"\e[2;7^": beginning-of-line
+"\e[3H": beginning-of-line
+"\e[1;3H": beginning-of-line
+"\e[3;1~": beginning-of-line
+"\e[3;7~": beginning-of-line
+"\e[3;1$": beginning-of-line
+"\e[3;7$": beginning-of-line
+"\e[3;1@": beginning-of-line
+"\e[3;7@": beginning-of-line
+"\e[3;1^": beginning-of-line
+"\e[3;7^": beginning-of-line
+"\e[4H": beginning-of-line
+"\e[1;4H": beginning-of-line
+"\e[4;1~": beginning-of-line
+"\e[4;7~": beginning-of-line
+"\e[4;1$": beginning-of-line
+"\e[4;7$": beginning-of-line
+"\e[4;1@": beginning-of-line
+"\e[4;7@": beginning-of-line
+"\e[4;1^": beginning-of-line
+"\e[4;7^": beginning-of-line
+"\e[5H": beginning-of-line
+"\e[1;5H": beginning-of-line
+"\e[5;1~": beginning-of-line
+"\e[5;7~": beginning-of-line
+"\e[5;1$": beginning-of-line
+"\e[5;7$": beginning-of-line
+"\e[5;1@": beginning-of-line
+"\e[5;7@": beginning-of-line
+"\e[5;1^": beginning-of-line
+"\e[5;7^": beginning-of-line
+"\e[6H": beginning-of-line
+"\e[1;6H": beginning-of-line
+"\e[6;1~": beginning-of-line
+"\e[6;7~": beginning-of-line
+"\e[6;1$": beginning-of-line
+"\e[6;7$": beginning-of-line
+"\e[6;1@": beginning-of-line
+"\e[6;7@": beginning-of-line
+"\e[6;1^": beginning-of-line
+"\e[6;7^": beginning-of-line
+"\e[7H": beginning-of-line
+"\e[1;7H": beginning-of-line
+"\e[7;1~": beginning-of-line
+"\e[7;7~": beginning-of-line
+"\e[7;1$": beginning-of-line
+"\e[7;7$": beginning-of-line
+"\e[7;1@": beginning-of-line
+"\e[7;7@": beginning-of-line
+"\e[7;1^": beginning-of-line
+"\e[7;7^": beginning-of-line
+"\e[8H": beginning-of-line
+"\e[1;8H": beginning-of-line
+"\e[8;1~": beginning-of-line
+"\e[8;7~": beginning-of-line
+"\e[8;1$": beginning-of-line
+"\e[8;7$": beginning-of-line
+"\e[8;1@": beginning-of-line
+"\e[8;7@": beginning-of-line
+"\e[8;1^": beginning-of-line
+"\e[8;7^": beginning-of-line
+
+"\e\eOH": beginning-of-line
+"\e\e[H": beginning-of-line
+"\e\e[1~": beginning-of-line
+"\e\e[7~": beginning-of-line
+"\e\e[1H": beginning-of-line
+"\e\e[1;1H": beginning-of-line
+"\e\e[1;1~": beginning-of-line
+"\e\e[1;7~": beginning-of-line
+"\e\e[1;1$": beginning-of-line
+"\e\e[1;7$": beginning-of-line
+"\e\e[1;1@": beginning-of-line
+"\e\e[1;7@": beginning-of-line
+"\e\e[1;1^": beginning-of-line
+"\e\e[1;7^": beginning-of-line
+"\e\e[2H": beginning-of-line
+"\e\e[1;2H": beginning-of-line
+"\e\e[2;1~": beginning-of-line
+"\e\e[2;7~": beginning-of-line
+"\e\e[2;1$": beginning-of-line
+"\e\e[2;7$": beginning-of-line
+"\e\e[2;1@": beginning-of-line
+"\e\e[2;7@": beginning-of-line
+"\e\e[2;1^": beginning-of-line
+"\e\e[2;7^": beginning-of-line
+"\e\e[3H": beginning-of-line
+"\e\e[1;3H": beginning-of-line
+"\e\e[3;1~": beginning-of-line
+"\e\e[3;7~": beginning-of-line
+"\e\e[3;1$": beginning-of-line
+"\e\e[3;7$": beginning-of-line
+"\e\e[3;1@": beginning-of-line
+"\e\e[3;7@": beginning-of-line
+"\e\e[3;1^": beginning-of-line
+"\e\e[3;7^": beginning-of-line
+"\e\e[4H": beginning-of-line
+"\e\e[1;4H": beginning-of-line
+"\e\e[4;1~": beginning-of-line
+"\e\e[4;7~": beginning-of-line
+"\e\e[4;1$": beginning-of-line
+"\e\e[4;7$": beginning-of-line
+"\e\e[4;1@": beginning-of-line
+"\e\e[4;7@": beginning-of-line
+"\e\e[4;1^": beginning-of-line
+"\e\e[4;7^": beginning-of-line
+"\e\e[5H": beginning-of-line
+"\e\e[1;5H": beginning-of-line
+"\e\e[5;1~": beginning-of-line
+"\e\e[5;7~": beginning-of-line
+"\e\e[5;1$": beginning-of-line
+"\e\e[5;7$": beginning-of-line
+"\e\e[5;1@": beginning-of-line
+"\e\e[5;7@": beginning-of-line
+"\e\e[5;1^": beginning-of-line
+"\e\e[5;7^": beginning-of-line
+"\e\e[6H": beginning-of-line
+"\e\e[1;6H": beginning-of-line
+"\e\e[6;1~": beginning-of-line
+"\e\e[6;7~": beginning-of-line
+"\e\e[6;1$": beginning-of-line
+"\e\e[6;7$": beginning-of-line
+"\e\e[6;1@": beginning-of-line
+"\e\e[6;7@": beginning-of-line
+"\e\e[6;1^": beginning-of-line
+"\e\e[6;7^": beginning-of-line
+"\e\e[7H": beginning-of-line
+"\e\e[1;7H": beginning-of-line
+"\e\e[7;1~": beginning-of-line
+"\e\e[7;7~": beginning-of-line
+"\e\e[7;1$": beginning-of-line
+"\e\e[7;7$": beginning-of-line
+"\e\e[7;1@": beginning-of-line
+"\e\e[7;7@": beginning-of-line
+"\e\e[7;1^": beginning-of-line
+"\e\e[7;7^": beginning-of-line
+"\e\e[8H": beginning-of-line
+"\e\e[1;8H": beginning-of-line
+"\e\e[8;1~": beginning-of-line
+"\e\e[8;7~": beginning-of-line
+"\e\e[8;1$": beginning-of-line
+"\e\e[8;7$": beginning-of-line
+"\e\e[8;1@": beginning-of-line
+"\e\e[8;7@": beginning-of-line
+"\e\e[8;1^": beginning-of-line
+"\e\e[8;7^": beginning-of-line
+
+"\e[U": end-of-history
+"\e[6~": end-of-history
+"\e[1U": end-of-history
+"\e[1;1U": end-of-history
+"\e[1;6~": end-of-history
+"\e[1;6$": end-of-history
+"\e[1;6@": end-of-history
+"\e[1;6^": end-of-history
+"\e[2U": end-of-history
+"\e[1;2U": end-of-history
+"\e[2;6~": end-of-history
+"\e[2;6$": end-of-history
+"\e[2;6@": end-of-history
+"\e[2;6^": end-of-history
+"\e[3U": end-of-history
+"\e[1;3U": end-of-history
+"\e[3;6~": end-of-history
+"\e[3;6$": end-of-history
+"\e[3;6@": end-of-history
+"\e[3;6^": end-of-history
+"\e[4U": end-of-history
+"\e[1;4U": end-of-history
+"\e[4;6~": end-of-history
+"\e[4;6$": end-of-history
+"\e[4;6@": end-of-history
+"\e[4;6^": end-of-history
+"\e[5U": end-of-history
+"\e[1;5U": end-of-history
+"\e[5;6~": end-of-history
+"\e[5;6$": end-of-history
+"\e[5;6@": end-of-history
+"\e[5;6^": end-of-history
+"\e[6U": end-of-history
+"\e[1;6U": end-of-history
+"\e[6;6~": end-of-history
+"\e[6;6$": end-of-history
+"\e[6;6@": end-of-history
+"\e[6;6^": end-of-history
+"\e[7U": end-of-history
+"\e[1;7U": end-of-history
+"\e[7;6~": end-of-history
+"\e[7;6$": end-of-history
+"\e[7;6@": end-of-history
+"\e[7;6^": end-of-history
+"\e[8U": end-of-history
+"\e[1;8U": end-of-history
+"\e[8;6~": end-of-history
+"\e[8;6$": end-of-history
+"\e[8;6@": end-of-history
+"\e[8;6^": end-of-history
+
+"\e\e[U": end-of-history
+"\e\e[6~": end-of-history
+"\e\e[1U": end-of-history
+"\e\e[1;1U": end-of-history
+"\e\e[1;6~": end-of-history
+"\e\e[1;6$": end-of-history
+"\e\e[1;6@": end-of-history
+"\e\e[1;6^": end-of-history
+"\e\e[2U": end-of-history
+"\e\e[1;2U": end-of-history
+"\e\e[2;6~": end-of-history
+"\e\e[2;6$": end-of-history
+"\e\e[2;6@": end-of-history
+"\e\e[2;6^": end-of-history
+"\e\e[3U": end-of-history
+"\e\e[1;3U": end-of-history
+"\e\e[3;6~": end-of-history
+"\e\e[3;6$": end-of-history
+"\e\e[3;6@": end-of-history
+"\e\e[3;6^": end-of-history
+"\e\e[4U": end-of-history
+"\e\e[1;4U": end-of-history
+"\e\e[4;6~": end-of-history
+"\e\e[4;6$": end-of-history
+"\e\e[4;6@": end-of-history
+"\e\e[4;6^": end-of-history
+"\e\e[5U": end-of-history
+"\e\e[1;5U": end-of-history
+"\e\e[5;6~": end-of-history
+"\e\e[5;6$": end-of-history
+"\e\e[5;6@": end-of-history
+"\e\e[5;6^": end-of-history
+"\e\e[6U": end-of-history
+"\e\e[1;6U": end-of-history
+"\e\e[6;6~": end-of-history
+"\e\e[6;6$": end-of-history
+"\e\e[6;6@": end-of-history
+"\e\e[6;6^": end-of-history
+"\e\e[7U": end-of-history
+"\e\e[1;7U": end-of-history
+"\e\e[7;6~": end-of-history
+"\e\e[7;6$": end-of-history
+"\e\e[7;6@": end-of-history
+"\e\e[7;6^": end-of-history
+"\e\e[8U": end-of-history
+"\e\e[1;8U": end-of-history
+"\e\e[8;6~": end-of-history
+"\e\e[8;6$": end-of-history
+"\e\e[8;6@": end-of-history
+"\e\e[8;6^": end-of-history
+
+"\e[V": beginning-of-history
+"\e[5~": beginning-of-history
+"\e[1V": beginning-of-history
+"\e[1;1V": beginning-of-history
+"\e[1;5~": beginning-of-history
+"\e[1;5$": beginning-of-history
+"\e[1;5@": beginning-of-history
+"\e[1;5^": beginning-of-history
+"\e[2V": beginning-of-history
+"\e[1;2V": beginning-of-history
+"\e[2;5~": beginning-of-history
+"\e[2;5$": beginning-of-history
+"\e[2;5@": beginning-of-history
+"\e[2;5^": beginning-of-history
+"\e[3V": beginning-of-history
+"\e[1;3V": beginning-of-history
+"\e[3;5~": beginning-of-history
+"\e[3;5$": beginning-of-history
+"\e[3;5@": beginning-of-history
+"\e[3;5^": beginning-of-history
+"\e[4V": beginning-of-history
+"\e[1;4V": beginning-of-history
+"\e[4;5~": beginning-of-history
+"\e[4;5$": beginning-of-history
+"\e[4;5@": beginning-of-history
+"\e[4;5^": beginning-of-history
+"\e[5V": beginning-of-history
+"\e[1;5V": beginning-of-history
+"\e[5;5~": beginning-of-history
+"\e[5;5$": beginning-of-history
+"\e[5;5@": beginning-of-history
+"\e[5;5^": beginning-of-history
+"\e[6V": beginning-of-history
+"\e[1;6V": beginning-of-history
+"\e[6;5~": beginning-of-history
+"\e[6;5$": beginning-of-history
+"\e[6;5@": beginning-of-history
+"\e[6;5^": beginning-of-history
+"\e[7V": beginning-of-history
+"\e[1;7V": beginning-of-history
+"\e[7;5~": beginning-of-history
+"\e[7;5$": beginning-of-history
+"\e[7;5@": beginning-of-history
+"\e[7;5^": beginning-of-history
+"\e[8V": beginning-of-history
+"\e[1;8V": beginning-of-history
+"\e[8;5~": beginning-of-history
+"\e[8;5$": beginning-of-history
+"\e[8;5@": beginning-of-history
+"\e[8;5^": beginning-of-history
+
+"\e\e[V": beginning-of-history
+"\e\e[5~": beginning-of-history
+"\e\e[1V": beginning-of-history
+"\e\e[1;1V": beginning-of-history
+"\e\e[1;5~": beginning-of-history
+"\e\e[1;5$": beginning-of-history
+"\e\e[1;5@": beginning-of-history
+"\e\e[1;5^": beginning-of-history
+"\e\e[2V": beginning-of-history
+"\e\e[1;2V": beginning-of-history
+"\e\e[2;5~": beginning-of-history
+"\e\e[2;5$": beginning-of-history
+"\e\e[2;5@": beginning-of-history
+"\e\e[2;5^": beginning-of-history
+"\e\e[3V": beginning-of-history
+"\e\e[1;3V": beginning-of-history
+"\e\e[3;5~": beginning-of-history
+"\e\e[3;5$": beginning-of-history
+"\e\e[3;5@": beginning-of-history
+"\e\e[3;5^": beginning-of-history
+"\e\e[4V": beginning-of-history
+"\e\e[1;4V": beginning-of-history
+"\e\e[4;5~": beginning-of-history
+"\e\e[4;5$": beginning-of-history
+"\e\e[4;5@": beginning-of-history
+"\e\e[4;5^": beginning-of-history
+"\e\e[5V": beginning-of-history
+"\e\e[1;5V": beginning-of-history
+"\e\e[5;5~": beginning-of-history
+"\e\e[5;5$": beginning-of-history
+"\e\e[5;5@": beginning-of-history
+"\e\e[5;5^": beginning-of-history
+"\e\e[6V": beginning-of-history
+"\e\e[1;6V": beginning-of-history
+"\e\e[6;5~": beginning-of-history
+"\e\e[6;5$": beginning-of-history
+"\e\e[6;5@": beginning-of-history
+"\e\e[6;5^": beginning-of-history
+"\e\e[7V": beginning-of-history
+"\e\e[1;7V": beginning-of-history
+"\e\e[7;5~": beginning-of-history
+"\e\e[7;5$": beginning-of-history
+"\e\e[7;5@": beginning-of-history
+"\e\e[7;5^": beginning-of-history
+"\e\e[8V": beginning-of-history
+"\e\e[1;8V": beginning-of-history
+"\e\e[8;5~": beginning-of-history
+"\e\e[8;5$": beginning-of-history
+"\e\e[8;5@": beginning-of-history
+"\e\e[8;5^": beginning-of-history
+
+"\e[@": quoted-insert
+"\e[2~": quoted-insert
+"\e[1;2~": quoted-insert
+"\e[1;2$": quoted-insert
+"\e[1;2@": quoted-insert
+"\e[1;2^": quoted-insert
+"\e[2;2~": quoted-insert
+"\e[2;2$": quoted-insert
+"\e[2;2@": quoted-insert
+"\e[2;2^": quoted-insert
+"\e[3;2~": quoted-insert
+"\e[3;2$": quoted-insert
+"\e[3;2@": quoted-insert
+"\e[3;2^": quoted-insert
+"\e[4;2~": quoted-insert
+"\e[4;2$": quoted-insert
+"\e[4;2@": quoted-insert
+"\e[4;2^": quoted-insert
+"\e[5;2~": quoted-insert
+"\e[5;2$": quoted-insert
+"\e[5;2@": quoted-insert
+"\e[5;2^": quoted-insert
+"\e[6;2~": quoted-insert
+"\e[6;2$": quoted-insert
+"\e[6;2@": quoted-insert
+"\e[6;2^": quoted-insert
+"\e[7;2~": quoted-insert
+"\e[7;2$": quoted-insert
+"\e[7;2@": quoted-insert
+"\e[7;2^": quoted-insert
+"\e[8;2~": quoted-insert
+"\e[8;2$": quoted-insert
+"\e[8;2@": quoted-insert
+"\e[8;2^": quoted-insert
+
+"\e\e["@: quoted-insert
+"\e\e[2~": quoted-insert
+"\e\e[1;2~": quoted-insert
+"\e\e[1;2$": quoted-insert
+"\e\e[1;2@": quoted-insert
+"\e\e[1;2^": quoted-insert
+"\e\e[2;2~": quoted-insert
+"\e\e[2;2$": quoted-insert
+"\e\e[2;2@": quoted-insert
+"\e\e[2;2^": quoted-insert
+"\e\e[3;2~": quoted-insert
+"\e\e[3;2$": quoted-insert
+"\e\e[3;2@": quoted-insert
+"\e\e[3;2^": quoted-insert
+"\e\e[4;2~": quoted-insert
+"\e\e[4;2$": quoted-insert
+"\e\e[4;2@": quoted-insert
+"\e\e[4;2^": quoted-insert
+"\e\e[5;2~": quoted-insert
+"\e\e[5;2$": quoted-insert
+"\e\e[5;2@": quoted-insert
+"\e\e[5;2^": quoted-insert
+"\e\e[6;2~": quoted-insert
+"\e\e[6;2$": quoted-insert
+"\e\e[6;2@": quoted-insert
+"\e\e[6;2^": quoted-insert
+"\e\e[7;2~": quoted-insert
+"\e\e[7;2$": quoted-insert
+"\e\e[7;2@": quoted-insert
+"\e\e[7;2^": quoted-insert
+"\e\e[8;2~": quoted-insert
+"\e\e[8;2$": quoted-insert
+"\e\e[8;2@": quoted-insert
+"\e\e[8;2^": quoted-insert
+
+"\eOC": forward-char
+"\e[C": forward-char
+"\e[c": forward-char
+"\e[1C": forward-char
+"\e[1c": forward-char
+"\e[1;1C": forward-char
+"\e[1;1c": forward-char
+"\e[2C": forward-char
+"\e[2c": forward-char
+"\e[1;2C": forward-char
+"\e[1;2c": forward-char
+"\e[3C": forward-word
+"\e[3c": forward-word
+"\e[1;3C": forward-word
+"\e[1;3c": forward-word
+"\e[4C": forward-word
+"\e[4c": forward-word
+"\e[1;4C": forward-word
+"\e[1;4c": forward-word
+"\e[5C": forward-word
+"\e[5c": forward-word
+"\e[1;5C": forward-word
+"\e[1;5c": forward-word
+"\e[6C": forward-word
+"\e[6c": forward-word
+"\e[1;6C": forward-word
+"\e[1;6c": forward-word
+"\e[7C": forward-word
+"\e[7c": forward-word
+"\e[1;7C": forward-word
+"\e[1;7c": forward-word
+"\e[8C": forward-word
+"\e[8c": forward-word
+"\e[1;8C": forward-word
+"\e[1;8c": forward-word
+
+"\e\eOC": forward-word
+"\e\e[C": forward-word
+"\e\e[c": forward-word
+"\e\e[1C": forward-word
+"\e\e[1c": forward-word
+"\e\e[1;1C": forward-word
+"\e\e[1;1c": forward-word
+"\e\e[2C": forward-word
+"\e\e[2c": forward-word
+"\e\e[1;2C": forward-word
+"\e\e[1;2c": forward-word
+"\e\e[3C": forward-word
+"\e\e[3c": forward-word
+"\e\e[1;3C": forward-word
+"\e\e[1;3c": forward-word
+"\e\e[4C": forward-word
+"\e\e[4c": forward-word
+"\e\e[1;4C": forward-word
+"\e\e[1;4c": forward-word
+"\e\e[5C": forward-word
+"\e\e[5c": forward-word
+"\e\e[1;5C": forward-word
+"\e\e[1;5c": forward-word
+"\e\e[6C": forward-word
+"\e\e[6c": forward-word
+"\e\e[1;6C": forward-word
+"\e\e[1;6c": forward-word
+"\e\e[7C": forward-word
+"\e\e[7c": forward-word
+"\e\e[1;7C": forward-word
+"\e\e[1;7c": forward-word
+"\e\e[8C": forward-word
+"\e\e[8c": forward-word
+"\e\e[1;8C": forward-word
+"\e\e[1;8c": forward-word
+
+"\eOD": backward-char
+"\e[D": backward-char
+"\e[d": backward-char
+"\e[1D": backward-char
+"\e[1d": backward-char
+"\e[1;1D": backward-char
+"\e[1;1d": backward-char
+"\e[2D": backward-char
+"\e[2d": backward-char
+"\e[1;2D": backward-char
+"\e[1;2d": backward-char
+"\e[3D": backward-word
+"\e[3d": backward-word
+"\e[1;3D": backward-word
+"\e[1;3d": backward-word
+"\e[4D": backward-word
+"\e[4d": backward-word
+"\e[1;4D": backward-word
+"\e[1;4d": backward-word
+"\e[5D": backward-word
+"\e[5d": backward-word
+"\e[1;5D": backward-word
+"\e[1;5d": backward-word
+"\e[6D": backward-word
+"\e[6d": backward-word
+"\e[1;6D": backward-word
+"\e[1;6d": backward-word
+"\e[7D": backward-word
+"\e[7d": backward-word
+"\e[1;7D": backward-word
+"\e[1;7d": backward-word
+"\e[8D": backward-word
+"\e[8d": backward-word
+"\e[1;8D": backward-word
+"\e[1;8d": backward-word
+
+"\e\eOD": backward-word
+"\e\e[D": backward-word
+"\e\e[d": backward-word
+"\e\e[1D": backward-word
+"\e\e[1d": backward-word
+"\e\e[1;1D": backward-word
+"\e\e[1;1d": backward-word
+"\e\e[2D": backward-word
+"\e\e[2d": backward-word
+"\e\e[1;2D": backward-word
+"\e\e[1;2d": backward-word
+"\e\e[3D": backward-word
+"\e\e[3d": backward-word
+"\e\e[1;3D": backward-word
+"\e\e[1;3d": backward-word
+"\e\e[4D": backward-word
+"\e\e[4d": backward-word
+"\e\e[1;4D": backward-word
+"\e\e[1;4d": backward-word
+"\e\e[5D": backward-word
+"\e\e[5d": backward-word
+"\e\e[1;5D": backward-word
+"\e\e[1;5d": backward-word
+"\e\e[6D": backward-word
+"\e\e[6d": backward-word
+"\e\e[1;6D": backward-word
+"\e\e[1;6d": backward-word
+"\e\e[7D": backward-word
+"\e\e[7d": backward-word
+"\e\e[1;7D": backward-word
+"\e\e[1;7d": backward-word
+"\e\e[8D": backward-word
+"\e\e[8d": backward-word
+"\e\e[1;8D": backward-word
+"\e\e[1;8d": backward-word
+
+"\e[3~": delete-char
+"\e[1;3~": delete-char
+"\e[1;3$": delete-char
+"\e[2;3~": delete-char
+"\e[2;3$": delete-char
+"\e[1;3@": delete-word
+"\e[1;3^": delete-word
+"\e[2;3@": delete-word
+"\e[2;3^": delete-word
+"\e[3;3~": delete-word
+"\e[3;3$": delete-word
+"\e[3;3@": delete-word
+"\e[3;3^": delete-word
+"\e[4;3~": delete-word
+"\e[4;3$": delete-word
+"\e[4;3@": delete-word
+"\e[4;3^": delete-word
+"\e[5;3~": delete-word
+"\e[5;3$": delete-word
+"\e[5;3@": delete-word
+"\e[5;3^": delete-word
+"\e[6;3~": delete-word
+"\e[6;3$": delete-word
+"\e[6;3@": delete-word
+"\e[6;3^": delete-word
+"\e[7;3~": delete-word
+"\e[7;3$": delete-word
+"\e[7;3@": delete-word
+"\e[7;3^": delete-word
+"\e[8;3~": delete-word
+"\e[8;3$": delete-word
+"\e[8;3@": delete-word
+"\e[8;3^": delete-word
+
+"\e\e[3~": delete-word
+"\e\e[1;3~": delete-word
+"\e\e[1;3$": delete-word
+"\e\e[2;3~": delete-word
+"\e\e[2;3$": delete-word
+"\e\e[1;3@": delete-word
+"\e\e[1;3^": delete-word
+"\e\e[2;3@": delete-word
+"\e\e[2;3^": delete-word
+"\e\e[3;3~": delete-word
+"\e\e[3;3$": delete-word
+"\e\e[3;3@": delete-word
+"\e\e[3;3^": delete-word
+"\e\e[4;3~": delete-word
+"\e\e[4;3$": delete-word
+"\e\e[4;3@": delete-word
+"\e\e[4;3^": delete-word
+"\e\e[5;3~": delete-word
+"\e\e[5;3$": delete-word
+"\e\e[5;3@": delete-word
+"\e\e[5;3^": delete-word
+"\e\e[6;3~": delete-word
+"\e\e[6;3$": delete-word
+"\e\e[6;3@": delete-word
+"\e\e[6;3^": delete-word
+"\e\e[7;3~": delete-word
+"\e\e[7;3$": delete-word
+"\e\e[7;3@": delete-word
+"\e\e[7;3^": delete-word
+"\e\e[8;3~": delete-word
+"\e\e[8;3$": delete-word
+"\e\e[8;3@": delete-word
+"\e\e[8;3^": delete-word
+
+$endif