-
Notifications
You must be signed in to change notification settings - Fork 8
/
inputrc
57 lines (48 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
52
53
54
55
56
57
$include /etc/inputrc
set keymap vi
set editing-mode vi
set show-mode-in-prompt On
set vi-ins-mode-string ""
set vi-cmd-mode-string "\e[01;31m N \e[0m"
# "\C-p":history-search-backward
# "\C-n":history-search-forward
"\C-p":history-substring-search-backward
"\C-n":history-substring-search-forward
TAB: menu-complete
"\e[Z": menu-complete-backward
"\C-x\C-e": edit-and-execute-command
"\C-j": "\C-v\C-j"
set keymap vi-insert
"\C-a":beginning-of-line
"\C-e":end-of-line
"\C-l":clear-screen
"\C-o":operate-and-get-next
"\C-]":yank-last-arg
# repeat previous word
"\C-k":"\eByWWpa"
"\C-g": glob-list-expansions
"\C-?": possible-completions
set keymap vi-command
"diw": "bde"
"diW": "BdE"
"ciw": "bce"
"ciW": "BcE"
"gU": upcase-word
"gu": downcase-word
"H": beginning-of-line
"L": end-of-line
"j": next-screen-line
"k": previous-screen-line
"\e[A": next-screen-line
"\e[B": previous-screen-line
"\C-?": possible-completions
"\C-x\C-e": edit-and-execute-command
set colored-stats On
set completion-ignore-case On
set menu-complete-display-prefix On
set skip-completed-text On
set show-all-if-ambiguous On
set show-all-if-unmodified On
set visible-stats On
set mark-symlinked-directories On
set blink-matching-paren On