-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.inputrc
58 lines (45 loc) · 1.94 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
# See
# https://www.gnu.org/software/bash/manual/html_node/Readline-Init-File-Syntax.html
#
# In Bash, use `bind -p` to list functions and bindings in a form that
# can be reused as input
# Perform filename matching and completion in a case-insensitive
# fashion
set completion-ignore-case on
# Convert characters with the eighth bit set to an ASCII key sequence by
# stripping the eighth bit and prefixing an ESC character, converting
# them to a meta-prefixed key sequence
set convert-meta off
# Enable eight-bit input (it will not clear the eighth bit in the
# characters it reads), regardless of what the terminal claims it can
# support
set input-meta on
# Display characters with the eighth bit set directly rather than as a
# meta-prefixed escape sequence
set output-meta on
# Completed names which are symbolic links to directories have a slash
# appended (subject to the value of `mark-directories`)
set mark-symlinked-directories on
# Words which have more than one possible completion cause the matches
# to be listed immediately instead of ringing the bell
set show-all-if-ambiguous on
# Control which default set of key bindings is used
set editing-mode emacs
# Display possible completions using different colors to indicate their
# file type. The color definitions are taken from the value of the
# LS_COLORS environment variable.
set colored-stats on
# When listing completions, display the common prefix of the set of
# possible completions using a different color. The color definitions
# are taken from the value of the LS_COLORS environment variable.
set colored-completion-prefix on
# Key binding <up>: non-incremental backward history search, must match
# from beginning of history line
"\e[A": history-search-backward
# Key binding <down>: non-incremental forward history search, must match
# from beginning of history line
"\e[B": history-search-forward
# Key binding C-<right>
"\e[1;5C": forward-word
# Key binding C-<left>
"\e[1;5D": backward-word