Modifications : etc/fstab.m4
[lhc/ateliers.git] / etc / inputrc
1 # /etc/inputrc - global inputrc for libreadline
2 # See readline(3readline) and `info rluserman' for more information.
3
4 # Be 8 bit clean.
5 set input-meta on
6 set output-meta on
7
8 # To allow the use of 8bit-characters like the german umlauts, uncomment
9 # the line below. However this makes the meta key not work as a meta key,
10 # which is annoying to those which don't need to type in 8-bit characters.
11
12 # set convert-meta off
13
14 # try to enable the application keypad when it is called. Some systems
15 # need this to enable the arrow keys.
16 # set enable-keypad on
17
18 # see /usr/share/doc/bash/inputrc.arrows for other codes of arrow keys
19
20 # do not bell on tab-completion
21 # set bell-style none
22 # set bell-style visible
23
24 # some defaults / modifications for the emacs mode
25 $if mode=emacs
26
27 # allow the use of the Home/End keys
28 "\e[1~": beginning-of-line
29 "\e[4~": end-of-line
30 # NOTE: pour Mosh
31 "\e[7~": beginning-of-line
32 "\e[8~": end-of-line
33
34 # allow the use of the Delete/Insert keys
35 "\e[3~": delete-char
36 "\e[2~": quoted-insert
37
38 # mappings for "up" and "down" to step search the history
39 "\e[A": history-search-backward
40 "\e[B": history-search-forward
41
42 # mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
43 "\e[1;5C": forward-word
44 "\e[1;5D": backward-word
45 "\e[5C": forward-word
46 "\e[5D": backward-word
47 "\e\e[C": forward-word
48 "\e\e[D": backward-word
49 "\e[Oc": forward-word
50 "\e[Od": backward-word
51
52 $if term=rxvt
53 "\e[8~": end-of-line
54 "\eOc": forward-word
55 "\eOd": backward-word
56 $endif
57
58 # for non RH/Debian xterm, can't hurt for RH/Debian xterm
59 # "\eOH": beginning-of-line
60 # "\eOF": end-of-line
61
62 # for freebsd console
63 # "\e[H": beginning-of-line
64 # "\e[F": end-of-line
65
66 $endif