-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimperatorrc
83 lines (60 loc) · 2.14 KB
/
vimperatorrc
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
" ABBREVIATIONS {{{1
abbreviate gh https://github.com/notifications
abbreviate json http://www.json.org/
abbreviate lr https://luarocks.org/
abbreviate mdn https://developer.mozilla.org/en-US/docs/Web
abbreviate nvim https://github.com/neovim/neovim
abbreviate pods www.cocoapods.org
abbreviate rac https://github.com/ReactiveCocoa
abbreviate racdoc http://reactivecocoa.io/reactiveswift/docs/latest/
abbreviate rw https://www.raywenderlich.com/
abbreviate xc http://xclient.info
" Python
abbreviate mini https://docs.python.org/2/library/string.html?highlight=mini%20language#formatspec
" Other
abbreviate wy http://www.163.com
abbreviate yt www.youtube.com
" Ptt.cc
abbreviate pttcd https://www.ptt.cc/bbs/China-Drama/index.html
abbreviate pttlol https://www.ptt.cc/bbs/LoL/index.html
abbreviate pttgs https://www.ptt.cc/bbs/Gossiping/index.html
" Site
abbreviate hugo http://gohugo.io
abbreviate hg http://localhost:1313/
abbreviate home http://mudox.github.io
" Apple
abbreviate appdev https://developer.apple.com
abbreviate acc http://developer.apple.com/account
abbreviate itc https://itunesconnect.apple.com
abbreviate hig https://developer.apple.com/ios/human-interface-guidelines
abbreviate se https://apple.github.io/swift-evolution/
abbreviate awwdc http://asciiwwdc.com
abbreviate wwdc https://developer.apple.com/videos
" VPS
abbreviate bw https://bandwagonhost.com/clientarea.php
abbreviate fy fanyi.baidu.com
"}}}1
" MAPPINGS {{{1
noremap coh :noh<Cr><Esc><Esc>
noremap gR :source ~/.vimperatorrc<Cr>
noremap J <C-d>
noremap K <C-u>
noremap j 7j
noremap k 7k
noremap A <Nop>
noremap a <Nop>
"noremap <C-o> <Nop>
"noremap <C-i> <Nop>
noremap , gT
noremap . gt
noremap > ]]
noremap < [[
noremap coh :noh<Cr>
"}}}1
" OPTIONS {{{1
set complete=
"set hintchars=12347890
set nextpattern=\\bnext\\b,^>$,^(>>|»)$,^(>|»),(>|»)$,\\bmore\\b,^下一页$,^下頁>$
set previouspattern=\\bprev|previous\\b,^<$,^(<<|«)$,^(<|«),(<|«)$,^上一页$,^<上頁$
"}}}1
" vim: ft=vim foldmethod=marker