-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.inputrc
110 lines (87 loc) · 3.54 KB
/
.inputrc
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# base-files version 3.7-1
# To pick up the latest recommended .inputrc content,
# look in /etc/defaults/etc/skel/.inputrc
# Modifying /etc/skel/.inputrc directly will prevent
# setup from updating it.
# The copy in your home directory (~/.inputrc) is yours, please
# feel free to customise it to create a shell
# environment to your liking. If you feel a change
# would be benifitial to all, please feel free to send
# a patch to the cygwin mailing list.
# the following line is actually
# equivalent to "\C-?": delete-char
"\e[3~": delete-char
# VT
"\e[1~": beginning-of-line
"\e[4~": end-of-line
# kvt
"\e[H": beginning-of-line
"\e[F": end-of-line
# rxvt and konsole (i.e. the KDE-app...)
"\e[7~": beginning-of-line
"\e[8~": end-of-line
# VT220
"\eOH": beginning-of-line
"\eOF": end-of-line
# These two lines set Ctrl-P/Ctrl-N to search backward/forward through the
# history for the string of characters between the start of the current line
# and the current cursor position.
"\C-p":history-search-backward
"\C-n":history-search-forward
# This line sets readline to display possible completions using different
# colors to indicate their file types. The colors are determined by the
# environmental variable LS_COLORS, which can be nicely configured.
set colored-stats On
# This line sets auto completion to ignore cases.
set completion-ignore-case On
# This line sets 3 to be the maximum number of characters to be the common
# prefix to display for completions. If the common prefix has more than 3
# characters, they are replaced by ellipsis. For example, assume we are in a
# directory with files Screenshot_20170730.png and Screenshot_20170731.png. If
# using the default option, an auto completion prints Screenshot_20170730.png
# Screenshot_20170731.png. If this option is set, then the auto completion
# prints ...0.png ...1.png. However, if the common prefix is very short (fewer
# or equal to 3 characters), the full file names are still printed. For
# example, in a directory with files S10.png and S11.png, an auto completion
# still prints S10.png S11.png. This can be very useful when auto completing in
# a directory in which a lot of files have a long common prefix, such a camera
# image directory.
set completion-prefix-display-length 3
# This line sets every completion which is a symbolic link to a directory to
# have a slash appended.
set mark-symlinked-directories On
# This line sets the completions to be listed immediately instead of ringing
# the bell, when the completing word has more than one possible completion.
set show-all-if-ambiguous On
# This line sets the completions to be listed immediately instead of ringing
# the bell, when the completing word has more than one possible completion but
# no partial completion can be made.
set show-all-if-unmodified On
# This lines sets completions to be appended by characters that indicate their
# file types reported by the stat system call.
set visible-stats On
# Allow 8-bit input/output
#set meta-flag on
#set convert-meta off
#set input-meta on
#set output-meta on
#$if Bash
# Don't ring bell on completion
#set bell-style none
# or, don't beep at me - show me
#set bell-style visible
# Filename completion/expansion
#set completion-ignore-case on
#set show-all-if-ambiguous on
# Expand homedir name
#set expand-tilde on
# Append "/" to all dirnames
#set mark-directories on
#set mark-symlinked-directories on
# Match all files
set match-hidden-files on
# 'Magic Space'
# Insert a space character then performs
# a history expansion in the line
#Space: magic-space
#$endif