-
Notifications
You must be signed in to change notification settings - Fork 1
/
.inputrc
37 lines (26 loc) · 897 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
33
34
35
36
37
set editing-mode vi
# Cycle completions instead of listing with tab or ctrl+right
TAB: menu-complete
"\e[5C": menu-complete
# Shift+tab or ctrl+left to go backwards
"\e[Z": menu-complete-backward
"\e[5D": menu-complete-backward
# Keep the old-style completion with ctrl+down
"\e[5B": complete
# No need to press ctrl+down twice
set show-all-if-ambiguous on
# Ignore case with completions
set completion-ignore-case on
# Trailing slash on symlinks to directories
set mark-symlinked-directories on
# Consider text past the cursor when autocompleting
set skip-completed-text on
# Consider existing text when going through the history via up or down
"\e[A": history-search-backward
"\e[B": history-search-forward
# Visible bell, quit making noise
set bell-style visible
# Show hidden files in completion
set match-hidden-files
# Meta+ctrl+u to kill the whole line
"\e\C-u": kill-whole-line