-
Notifications
You must be signed in to change notification settings - Fork 0
/
.inputrc
36 lines (30 loc) · 855 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
# don't use sound
set bell-style none
# blink on matchin parens
set blink-matching-paren on
set colored-completion-prefix on
set colored-stats on
# ignore case when completing
set completion-ignore-case on
# treat - and _ the same
set completion-map-case on
set history-size 1048576
set menu-complete-display-prefix on
set show-all-if-ambiguous on
set show-all-if-unmodified on
set editing-mode vi
set show-mode-in-prompt on
# SET THE MODE STRING AND CURSOR TO INDICATE THE VIM MODE
# FOR THE NUMBER AFTER `\e[`:
# 0: blinking block
# 1: blinking block (default)
# 2: steady block
# 3: blinking underline
# 4: steady underline
# 5: blinking bar (xterm)
# 6: steady bar (xterm)
set vi-ins-mode-string \1\e[4 q\2
set vi-cmd-mode-string \1\e[2 q\2
Control-l: clear-screen
TAB: menu-complete
"\e[Z": menu-complete-backward