blob: bf18cfe2a41810941b9fab5e725204ee3145db76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Include system-wide settings
$include /etc/inputrc
# Enable 8bit input
set meta-flag On
set input-meta On
# Turns off 8th bit stripping
set convert-meta Off
# Keep the 8th bit for display
set output-meta On
# Make sure to split long lines
set horizontal-scroll-mode Off
# Disable bell (none|visible|audible)
set bell-style none
# Display colors for completion candidates
set colored-stats On
# Ignore case for auto-completion
set completion-ignore-case On
# Show ellipsis when there are more than 3 common characters
set completion-prefix-display-length 3
# Append a slash to symlinks targetting a directory
set mark-symlinked-directories On
# Display completion options immediately (no bell) when there are several
# candidates
set show-all-if-ambiguous On
# Display completion options immediately (no bell) when there are several
# candidates but no partial completion can be made
set show-all-if-unmodified On
# Append a character which indicates the file type (directory, symlink) for
# each completion option.
set visible-stats On
# Key mappings for Linux console
"\C-p": history-search-backward
"\C-n": history-search-forward
"\eOd": backward-word
"\eOc": forward-word
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[5~": beginning-of-history
"\e[6~": end-of-history
"\e[3~": delete-char
"\e[2~": quoted-insert
# Xterm-specific
"\eOH": beginning-of-line
"\eOF": end-of-line
|