From 6d908a38e05b9d4135c65d23114a5874215b5bb8 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sat, 11 Dec 2010 19:15:23 +0100 Subject: Engagement initial. --- readline/inputrc | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 readline/inputrc (limited to 'readline/inputrc') 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 -- cgit v1.2.3-70-g09d2