forked from roylez/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.inputrc
More file actions
23 lines (19 loc) · 1 KB
/
Copy path.inputrc
File metadata and controls
23 lines (19 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
set completion-ignore-case on
#These will make completions appear immediately after pressing TAB once, instead
#of the default behavior which is to show them after pressing twice. I think
#you'll find this saves you many unnecessary keystrokes, but the potential
#downside is that it could take up the space of terminal backlog you were
#intending on keeping visible.
set show-all-if-ambiguous on
set show-all-if-unmodified on
#With this enabled, underscores and hyphens are treated equally when completing,
#which is a plus to me because I find hyphens a lot easier to type.
set completion-map-case on
#This one is insanely useful when you have a folder with lots of similarly named
#files and you are not sure how far the completion has gone when you press TAB.
#The first part that has been completed will be replaced by "...", and it is
#simple to see what you need to type to finish the completion.
set completion-prefix-display-length 2
"\t": menu-complete
"": history-search-backward
"": history-search-forward