-
Notifications
You must be signed in to change notification settings - Fork 4
/
.inputrc
41 lines (31 loc) · 922 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
38
39
40
set editing-mode emacs # vi
set bell-style visible
set colored-stats on
set completion-ignore-case on
set completion-prefix-display-length 3
set mark-directories on
set mark-symlinked-directories on
# set show-all-if-ambiguous on
# set show-all-if-unmodified on
set skip-completed-text on
set visible-stats on
set keymap emacs
## History navigation
Control-p: history-search-backward
Control-n: history-search-forward
# "\C-p":history-search-backward
# "\C-n":history-search-forward
set show-all-if-ambiguous On
set completion-ignore-case on
# cycle through available options
# TAB: menu-complete
set keymap vi-command
# "\e[A": history-search-backward
# "\e[B": history-search-forward
Control-p: history-search-backward
Control-n: history-search-forward
set keymap vi-insert
# "\e[A": history-search-backward
# "\e[B": history-search-forward
Control-p: history-search-backward
Control-n: history-search-forward