-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.inputrc
51 lines (43 loc) · 1.19 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
set completion-ignore-case on
set show-all-if-ambiguous on
set menu-complete-display-prefix on
set colored-stats on
set colored-completion-prefix on
set show-mode-in-prompt on
set emacs-mode-string
set vi-ins-mode-string (i)
set vi-cmd-mode-string (c)
set editing-mode vi
$if mode=vi
"\C-e": emacs-editing-mode
set keymap vi-command
"\C-l": clear-screen
set keymap vi-insert
"\C-l": clear-screen
TAB: menu-complete
"\e[Z": menu-complete-backward
"\e[1;5C": forward-word
"\e[1;5D": backward-word
"\C-p": history-search-backward
"\C-n": history-search-forward
"\e[A": history-search-backward
"\e[B": history-search-forward
"\eOA": history-search-backward
"\eOB": history-search-forward
$endif
set editing-mode emacs
$if mode=emacs
"\e\C-j": vi-editing-mode
"\e\C-m": vi-editing-mode
"\e\C-e": vi-editing-mode
TAB: menu-complete
"\e[Z": menu-complete-backward
"\e[1;5C": forward-word
"\e[1;5D": backward-word
"\C-p": history-search-backward
"\C-n": history-search-forward
"\e[A": history-search-backward
"\e[B": history-search-forward
"\eOA": history-search-backward
"\eOB": history-search-forward
$endif