-
Notifications
You must be signed in to change notification settings - Fork 1
/
.inputrc
40 lines (33 loc) · 1.14 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
# UTF-8 support
set meta-flag on
set input-meta on
set output-meta on
set convert-meta off
set visible-stats on
# Case-Insensitive and _==-
set completion-ignore-case on
set completion-map-case on
# 7 matching chars converted to ...
set completion-prefix-display-length 7
# Quit trying to complete & prompt when 16 matches made
set completion-query-items 16
# Immediately add a trailing slash when autocompleting symlinks to directories
set mark-symlinked-directories on
set show-all-if-unmodified on
set skip-completed-text on
set bell-style visible
# By default up/down are bound to previous-history
# and next-history respectively. The following does the
# same but gives the extra functionality where if you
# type any text (or more accurately, if there is any text
# between the start of the line and the cursor),
# the subset of the history starting with that text
# is searched (like 4dos for e.g.).
# Note to get rid of a line just Ctrl-C
"\e[B": history-search-forward
"\e[A": history-search-backward
"\C-p": history-search-backward
"\C-n": history-search-forward
# allow the use of the Delete/Insert keys
"\e[3~": delete-char
"\e[2~": quoted-insert