-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_inputrc
More file actions
34 lines (27 loc) · 831 Bytes
/
dot_inputrc
File metadata and controls
34 lines (27 loc) · 831 Bytes
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
# Readline configuration — the soul of interactive Unix
$include /etc/inputrc
# Smarter completion
set show-all-if-ambiguous on
set show-all-if-unmodified on
set completion-ignore-case on
set colored-stats on
set colored-completion-prefix on
set visible-stats on
set mark-symlinked-directories on
# No bell, ever
set bell-style none
# Completion of common prefixes first, then cycle
set menu-complete-display-prefix on
TAB: menu-complete
"\e[Z": menu-complete-backward
# Show completion matches immediately (no double-tab)
set skip-completed-text on
# Editing quality of life
set enable-bracketed-paste on
set horizontal-scroll-mode off
# Up/Down search history by prefix
"\e[A": history-search-backward
"\e[B": history-search-forward
# Ctrl-Left/Right for word navigation
"\e[1;5C": forward-word
"\e[1;5D": backward-word