]>
Commit | Line | Data |
---|---|---|
1 | # Begin /etc/inputrc | |
2 | ||
3 | # Allow the command prompt to wrap to the next line | |
4 | set horizontal-scroll-mode Off | |
5 | ||
6 | # Enable 8bit input | |
7 | set meta-flag On | |
8 | set input-meta On | |
9 | ||
10 | # Turns off 8th bit stripping | |
11 | set convert-meta Off | |
12 | ||
13 | # Keep the 8th bit for display | |
14 | set output-meta On | |
15 | ||
16 | # none, visible or audible | |
17 | set bell-style none | |
18 | ||
19 | # All of the following map the escape sequence of the | |
20 | # value contained inside the 1st argument to the | |
21 | # readline specific functions | |
22 | ||
23 | "\eOd": backward-word | |
24 | "\eOc": forward-word | |
25 | ||
26 | # for linux console | |
27 | "\e[1~": beginning-of-line | |
28 | "\e[4~": end-of-line | |
29 | "\e[5~": beginning-of-history | |
30 | "\e[6~": end-of-history | |
31 | "\e[3~": delete-char | |
32 | "\e[2~": quoted-insert | |
33 | ||
34 | # for xterm | |
35 | "\eOH": beginning-of-line | |
36 | "\eOF": end-of-line | |
37 | ||
38 | # for Konsole | |
39 | "\e[H": beginning-of-line | |
40 | "\e[F": end-of-line | |
41 | ||
42 | # End /etc/inputrc |