-
Notifications
You must be signed in to change notification settings - Fork 1
/
inputrc
93 lines (76 loc) · 2.58 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
# Filename matching and completion in a case-insensitive fashion.
set completion-ignore-case on
# Treat hyphens and underscores as equivalent.
set completion-map-case on
# Don't ask whether the list of possibilities should be displayed if 200 items
# or less.
set completion-query-items 200
# Completed directory names have a slash appended.
set mark-directories on
# Completed symlinked directory names have a slash appended.
set mark-symlinked-directories on
# Don't match files whose names begin with a '.', unless the leading '.' is
# supplied by the user.
set match-hidden-files off
# Display all completion results at once.
set page-completions off
# 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
# Words which have more than one possible completion without any possible
# partial completion cause the matches to be listed immediately instead of
# ringing the bell.
set show-all-if-unmodified on
# Don't insert characters from the completion that match characters after point
# in the word being completed.
set skip-completed-text on
# A character denoting a file's type is appended to the filename when listing
# possible completions.
set visible-stats on
# Display possible completions using different colors to indicate their file
# type.
set colored-stats on
# Allow UTF-8 input and output, instead of showing stuff like $'\0123\0456'.
set convert-meta off
set input-meta on
set output-meta on
# Navigate history with arrows.
"\e[A": history-search-backward
"\e[B": history-search-forward
# Option + left/right arrow keys to move the cursor wordwise.
"\e\e[C": forward-word
"\e\e[D": backward-word
# Vi editing mode.
# set editing-mode vi
# Bindings for vi-command mode.
# set keymap vi-command
# "\e[A": history-search-backward
# "\e[B": history-search-forward
# "\ep": yank-last-arg
# "\C-a": vi-insert-beg
# "\C-e": vi-append-eol
# For Linux console and RH/Debian xterm.
# "\e[1~": beginning-of-line
# "\e[4~": end-of-line
# For non-RH/Debian xterm.
# "\eOH": beginning-of-line
# "\eOF": end-of-line
# For FreeBSD console
# "\e[H": beginning-of-line
# "\e[F": end-of-line
# Bindings for vi-insert mode:
# set keymap vi-insert
# "\e[A": history-search-backward
# "\e[B": history-search-forward
# "\C-l": clear-screen
# "\C-a": beginning-of-line
# "\C-e": end-of-line
# For Linux console and RH/Debian xterm.
# "\e[1~": beginning-of-line
# "\e[4~": end-of-line
# For non-RH/Debian xterm.
# "\eOH": beginning-of-line
# "\eOF": end-of-line
# For FreeBSD console
# "\e[H": beginning-of-line
# "\e[F": end-of-line