-
Notifications
You must be signed in to change notification settings - Fork 3
/
.cvimrc
104 lines (86 loc) · 1.62 KB
/
.cvimrc
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
" TODO : Chrome cannot use cvim. So remove this config file in the future. 2020/12/04
" config
set localconfig
let configpath="/Users/IceHe/.cvimrc"
" blacklist
let blacklists = ["https://trello.com/*"]
" true
set autohidecursor
set defaultnewtabpage
set linkanimations
set showtabindices
set smoothscroll
set sortlinkhints
" false
set noautofocus
set nodimhintcharacters
" string
let barposition="bottom"
let hintcharacters="asdfgqwerzxcv"
" control
map Q :help<CR>
"" scroll
map j scrollPageDown
map k scrollPageUp
map q scrollFullPageUp
map d scrollFullPageDown
map ! scrollToLeft "_reserved
map $ scrollToRight "_reserved
"" tab
map w previousTab
map e nextTab
map W moveTabLeft
map E moveTabRight
"map gq firstTab "_reserved
"map gr lastTab "_reserved
map t :tabnew<CR>
map a :buffer<Space>
map S :duplicate<CR>
map c yankDocumentUrl
map v openPaste
map V openPasteTab
map gm muteTab
"" history
map z goBack
map b goForward
map R reloadTabUncached
"" quickstart
map D :chrome://downloads<CR>
map gS :tabnew chrome-extension://ihlenndgcmojhcghmfjfneahoeklbjjh/pages/options.html<CR>
"_examples
"map ga :tabnew google<CR>
"map gh :tabnew file:///Users/IceHe/Downloads/html.html<CR>
"" switch to tab
map 1 1%
map 2 2%
map 3 3%
map 4 4%
map 5 5%
map 6 6%
map 7 7%
map 8 8%
map 9 9%
map 0 10%
map s1 11%
map s2 12%
map s3 13%
map s4 14%
map s5 15%
map s6 16%
map s7 17%
map s8 18%
map s9 19%
map s0 20%
"" text box
map i goToInput
map I goToLastInput
imap <C-n> forwardWord
imap <C-p> backwardWord
imap <C-h> deleteChar
imap <C-k> deleteToEnd
iunmap <C-i>
iunmap <C-o>
iunmap <C-j>
"" others
map m setMark
"map Z toggleVisualMode "_reserved