-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.inputrc
32 lines (23 loc) · 899 Bytes
/
.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
# color completions
set colored-completion-prefix
# display file completions in different colors
set colored-stats
# prevent pasted text from partial execution
set enable-bracketed-paste
# add slash to symlinked dirs when completing
set mark-symlinked-directories
# don't ring the bell when there are multiple completions, show them right away
set show-all-if-ambiguous
# don't insert duplicated text when completing in the middle of a word
set skip-completed-text
# append a file type character when listing completions
set visible-stats
# complete a command matched by the current input
"\C-\M-p": history-search-backward
"\C-\M-n": history-search-forward
# menu completion, '\e' denotes meta key for most terminals (i.e. Alt)
"\ei": menu-complete
"\eI": menu-complete-backward
# dynamic abbreviation expansion, '\e' denotes meta key for most terminals
# (i.e. Alt)
"\ej": dabbrev-expand