-
Notifications
You must be signed in to change notification settings - Fork 0
/
inputrc
32 lines (24 loc) · 985 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
#use c-x c-r to re-read-init-file after save changes
#"PAGEUP" and "PAGEDOWN" to search in history
"\e[5~": history-search-backward
"\e[6~": history-search-forward
#override default (previous/next-history)
"\C-p": history-search-backward
"\C-n": history-search-forward
#readline displays possible completions using different colors
#indicated files are highlight based on LS_COLORS
set colored-stats on
#disable bell
set bell-style none
##modify default behaviour of completion functions (TAB after ambiguous words)
#set completion-ignore-case off
#one match per line. See also 'man readline' (bash 4.2+)
#set completion-display-width 0
#list matches immediately instead of ringing bell
#autofill untyped common part (differ from show-all-if-unmodified)
set show-all-if-ambiguous on
#show possible suggestions before cycling through list
set menu-complete-display-prefix on
#cycle through choices with ctrl-right/left
"\e[1;5C": menu-complete
"\e[1;5D": menu-complete-backward