-
Notifications
You must be signed in to change notification settings - Fork 1
/
inputrc
32 lines (25 loc) · 808 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
# read /etc/inputrc
$include /etc/inputrc
"\e[5~": history-search-backward
"\e[6~": history-search-forward
# Keep hidden files hidden when doing, for example, cp ~/ Tab:
# cp ~/. Tab will match hidden files
set match-hidden-files off
set page-completions off
set completion-query-items 350
set show-all-if-ambiguous on
set mark-symlinked-directories on
set completion-ignore-case on
# When listing possible file completions, put / after directory names and * after programs
set visible-stats on
# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word
#"\t": menu-complete
$if Bash
# do history expansion when space entered
# !cd <-- expansion on space
Space: magic-space
$endif