]>
Commit | Line | Data |
---|---|---|
65998e0a | 1 | # Begin /etc/inputrc |
cd1a2927 | 2 | |
65998e0a MT |
3 | # Allow the command prompt to wrap to the next line |
4 | set horizontal-scroll-mode Off | |
cd1a2927 | 5 | |
65998e0a MT |
6 | # Enable 8bit input |
7 | set meta-flag On | |
8 | set input-meta On | |
cd1a2927 | 9 | |
65998e0a MT |
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 | |
cd1a2927 MT |
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 | |
cd1a2927 | 33 | |
65998e0a | 34 | # for xterm |
cd1a2927 MT |
35 | "\eOH": beginning-of-line |
36 | "\eOF": end-of-line | |
37 | ||
65998e0a | 38 | # for Konsole |
cd1a2927 MT |
39 | "\e[H": beginning-of-line |
40 | "\e[F": end-of-line | |
65998e0a MT |
41 | |
42 | # End /etc/inputrc |