Debian Codegraph @

debian/inputrc

raw
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 # make autocompletion case insensitive and display suggestions
25 # set completion-ignore-case On
26 # set show-all-if-ambiguous On
27
28 # some defaults / modifications for the emacs mode
29 $if mode=emacs
30
31 # allow the use of the Home/End keys
32 "\e[1~": beginning-of-line
33 "\e[4~": end-of-line
34
35 # allow the use of the Delete/Insert keys
36 "\e[3~": delete-char
37 "\e[2~": quoted-insert
38
39 # mappings for "page up" and "page down" to step to the beginning/end
40 # of the history
41 # "\e[5~": beginning-of-history
42 # "\e[6~": end-of-history
43
44 # alternate mappings for "page up" and "page down" to search the history
45 # "\e[5~": history-search-backward
46 # "\e[6~": history-search-forward
47
48 # mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
49 "\e[1;5C": forward-word
50 "\e[1;5D": backward-word
51 "\e[5C": forward-word
52 "\e[5D": backward-word
53 "\e\e[C": forward-word
54 "\e\e[D": backward-word
55
56 $if term=rxvt
57 "\e[7~": beginning-of-line
58 "\e[8~": end-of-line
59 "\eOc": forward-word
60 "\eOd": backward-word
61 $endif
62
63 # for non RH/Debian xterm, can't hurt for RH/Debian xterm
64 # "\eOH": beginning-of-line
65 # "\eOF": end-of-line
66
67 # for freebsd console
68 # "\e[H": beginning-of-line
69 # "\e[F": end-of-line
70
71 $endif