Initial revision
[openwrt.git] / target / default / target_skeleton / etc / inputrc
1 # /etc/inputrc - global inputrc for libreadline
2 # See readline(3readline) and `info readline' for more information.
3
4 # Be 8 bit clean.
5 set input-meta on
6 set output-meta on
7 set bell-style visible
8
9 # To allow the use of 8bit-characters like the german umlauts, comment out
10 # the line below. However this makes the meta key not work as a meta key,
11 # which is annoying to those which don't need to type in 8-bit characters.
12
13 # set convert-meta off
14
15 "\e0d": backward-word
16 "\e0c": forward-word
17 "\e[h": beginning-of-line
18 "\e[f": end-of-line
19 "\e[1~": beginning-of-line
20 "\e[4~": end-of-line
21 #"\e[5~": beginning-of-history
22 #"\e[6~": end-of-history
23 "\e[3~": delete-char
24 "\e[2~": quoted-insert
25
26 # Common standard keypad and cursor
27 # (codes courtsey Werner Fink, <werner@suse.de>)
28 #"\e[1~": history-search-backward
29 "\e[2~": yank
30 "\e[3~": delete-char
31 #"\e[4~": set-mark
32 "\e[5~": history-search-backward
33 "\e[6~": history-search-forward
34 # Normal keypad and cursor of xterm
35 "\e[F": end-of-line
36 "\e[H": beginning-of-line
37 # Application keypad and cursor of xterm
38 "\eOA": previous-history
39 "\eOC": forward-char
40 "\eOB": next-history
41 "\eOD": backward-char
42 "\eOF": end-of-line
43 "\eOH": beginning-of-line
44