forked from gdh1995/vimium-c
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings-template.json
294 lines (294 loc) · 11.4 KB
/
settings-template.json
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
{
"name": "Vimium C",
"environment": {
"platform": "win"
},
"autoReduceMotion": true,
"clipSub": [
"p=^git@([^/:]+):=https://$1/=",
"r@^https://github\\.com/[^\\s\\/?#]+/[^\\s\\/?#]+(?=/)@@,matched",
"g@^https://www\\.zhihu\\.com/question/\\d+(?=/answer/?$)@@,matched",
"p@^https://item\\.m\\.jd\\.com/product/(\\d+)\\.html\\b@https://item.jd.com/$1.html@",
""
],
"exclusionListenHash": false,
"exclusionRules": [],
"grabBackFocus": true,
"keyMappings": [
"unmapAll",
"map ? showHelp",
"map <a-/> enterInsertMode",
"# map <a-/> openUrl url=\"vimium://status/toggle-disabled/^\\u0020<a-/>\"",
"run <a-?> <a-/> key=\"<s-esc>\"",
"map <a-t> createTab",
"run <a-c> c",
"run <a-v> v",
"run <a-s-c> <a-v>",
"map <a-r> reloadTab",
"",
"map w scrollPageUp",
"map s scrollPageDown",
"map a scrollLeft",
"map d scrollRight",
"map q scrollUp",
"map e scrollDown",
"map W scrollToTop",
"map S scrollToBottom",
"map A goBack",
"run <a-s-a> A reuse=\"newFg\"",
"map D goForward",
"map Q goPrevious",
"map E goNext",
"run j e",
"run k q",
"",
"map r reload",
"map R reloadGivenTab",
"map <a-s-r> reopenTab",
"map f LinkHints.activate",
"run <v-lh> LinkHints.activate$s mask=",
"run Fq lh WithQueue",
"run Fr f button=\"right\"",
"run Fa lh CopyLinkUrl",
"run Ft lh CopyLinkText",
"run Fs lh SearchLinkText",
"run Fb Fs keyword=\"bing\"",
"run Fc Ft",
"map Ff LinkHints.activateHover \\",
" toggle={\".bilibili-player-area\":\"video-control-show\"}",
"run Fz lh Leave",
"run Fd lh DownloadLink",
"run FD lh DownloadImage",
"run Fi lh OpenImage",
"run FI lh OpenIncognito",
"run F<a-e> lh Edit",
"run Gg lh OpenInNewTab",
"run Fg Gg newtab=\"force\"",
"run FT lh OpenVomnibar",
"run FE FT url",
"run Fv lh Select",
"map o Vomnibar.activate",
"map <a-g> Vomnibar.activateInNewTab",
"run g <a-g> preferTabs=\"new\"",
"map t Vomnibar.activateTabSelection preferTabs=\"new\"",
"run T t tree=\"from-start\" currentWindow",
"map h Vomnibar.activateHistoryInNewTab",
"run b <a-g> keyword=\"bing\"",
"map Fe Vomnibar.activateUrl",
"map B Vomnibar.activateBookmarksInNewTab",
"map <c-s-d> duplicateTab",
"map <a-s-f> toggleLinkHintCharacters \\",
" value=\"hjklyuiopnm\"",
"",
"map z restoreTab",
"map x removeTab goto=\"previous\" highlighted",
"map c previousTab",
"map v nextTab",
"map Z restoreGivenTab",
"map Xx removeRightTab",
"map Xz closeTabsOnLeft $count=-1",
"map Xc closeTabsOnRight $count=1",
"map Xa closeOtherTabs",
"map Ct copyCurrentTitle",
"map Ca copyCurrentUrl type=\"frame\"",
"map Cc autoCopy url decode",
"map Cs searchAs",
"map Cv autoOpen",
"run Cd Cv keyword=\"dict\"",
"run Cb Cd reuse=\"if-last-wnd\" \\",
" replace=\"https://cn.bing.com/dict/\" window=\"popup\"",
"run Cg Cv keyword=\"google\"",
"run CT <c-v> keyword=\"t\"",
"map V openCopiedUrlInCurrentTab",
"run Ce V \\",
" keyword=\"v.math-copy\"",
"map <c-v> openCopiedUrlInNewTab",
"",
"map u goUp",
"run i focusInput:(<c-m>:W+150wait)%cfocusInput \\",
" o.keep o.select=\"all-line\" o.reachable \\",
" o.prefer=\"#js-issues-search,#searchEngines\"",
"# map i focusInput $if={\"before\":\"v1.92.0\"}",
"",
"map n nextFrame",
"map UU goToRoot",
"map Uu goUp trailingSlash",
"map Uf parentFrame",
"map N moveTabToNewWindow",
"map I moveTabToIncognito",
"map <a-n> moveTabToNextWindow",
"map <c-i> toggleCS",
"map <c-s-i> enableCSTemp",
"map <a-s-i> clearCS",
"map p visitPreviousTab",
"map Pp togglePinTab",
"map Pn passNextKey",
"run Pm Pn normal",
"map <a-m> toggleMuteTab",
"",
"map / enterFindMode postOnEsc",
"map . performFind",
"map , performBackwardsFind",
"map <a-.> performAnotherFind",
"map ; enterVisualMode",
"map : enterVisualLineMode",
"run <f8> ;",
"map > moveTabRight",
"map < moveTabLeft",
"run m Marks.activate$s#swap mask=",
"run M m Create",
"map <c-m> mainFrame",
"map <a-s-h> clearFindHistory",
"",
"run ` m",
"run ~ M",
"map <a-~> Marks.clearGlobal",
"map <a-`> Marks.clearLocal",
"",
"map <f1> simBackspace",
"map <s-f1> switchFocus select=\"all-line\"",
"run <a-f3> Cd",
"map <c-up> scrollPxUp",
"map <c-down> scrollPxDown",
"map <c-left> scrollPxLeft",
"map <c-right> scrollPxRight",
"map <a-s-f12> debugBackground",
"map <s-f12> focusOrLaunch url=\"vimium://options\"",
"",
"run <v-sia> searchInAnother##keyword=$s mask",
"run GG sia g",
"run Gt sia t",
"run GT sia t.e",
"run Gd sia d",
"run Gb sia b",
"run Gs sia g.s",
"",
"map Gn toggleVomnibarStyle",
"map FF showTip \\",
" text=\"Maybe\\u0020Caps\\u0020Lock\\u0020is\\u0020ON\\u0020!!!\"",
"map <a-s-d> closeDownloadBar",
"",
"#shortcut createTab position=\"end\"",
"#shortcut userCustomized1 command=\"autoOpen\" keyword=\"dict\"",
""
],
"linkHintCharacters": "dsavewrqcxz",
"nextPatterns": "下一封,下页,下一页,下一章,后一页,.btn-next,next,more,newer,>,›,→,»,≫,>>",
"previousPatterns": "上一封,上页,上一页,上一章,前一页,.btn-prev,prev,previous,back,older,<,‹,←,«,≪,<<",
"searchEngines": [
"b|吧|把|ba|bd|baidu|Baidu|百度: https://www.baidu.com/s?ie=utf-8&wd=$s \\",
" blank=https://www.baidu.com",
"bi: https://cn.bing.com/search?q=$s",
"bi|必应: https://www.bing.com/search?q=$s blank=https://cn.bing.com/",
"bing: . www.bing.com/dict/ re=/^([^\\/]+)\\/?$/",
"bing: . www.bing.com/dict/ re=/^(?:search|dict|)?[#&?]q=([^#&]*)/i",
"bing: . cn.bing.com/dict/ re=/^([^\\/]+)\\/?$/",
"bing: . cn.bing.com/dict/ re=/^(?:search|dict|)?[#&?]q=([^#&]*)/i",
"bing|d|bign|di|dict|并|词典|必应词典: https://cn.bing.com/dict/?q=$s re=",
"w.e: http://en.wikipedia.org/wiki/$s{_}",
"w.e|wiki.en|en.wiki|e.w: \\",
" https://en.wikipedia.org/w/index.php?title=Special:Search&search=$s \\",
" Wikipedia (en-US)",
"m|百度Wap|Wap百度|没|吗|wap|m.b|m.baidu|wap.baidu: \\",
" http://m.baidu.com/pu=sz%401328_100/s?word=$s \\",
" m.baidu.com/ re=/\\/s\\?(?:word=|.*?\\&word=)([^#&]*)/i \\",
" 百度 Wap",
"b.i|b.image|image: \\",
" http://image.baidu.com/search/index?tn=baiduimage&ie=utf-8&word=$s \\",
" 百度图片",
"b.t|t.b|tieba|贴吧|贴: http://tieba.baidu.com/f?kw=$s 百度贴吧",
"b.x|b.xs|bx|bxs|bxueshu: https://xueshu.baidu.com/s?ie=utf-8&wd=%s \\",
" blank=https://xueshu.baidu.com/ 百度学术",
"g|go|gg|ggg|Google|google|个: https://www.google.com/search?ie=utf-8&q=$s \\",
" www.google.com re=/^(?:\\.[a-z]{2,4})?\\/search\\b.*?[#&?]q=([^#&]*)/i \\",
" blank=https://www.google.com Google",
"g.i|g.image: https://www.google.com/search?newwindow=1&tbm=isch&q=$s \\",
" www.google.com \\",
" re=/^(?:\\.[a-z]{2,4})?\\/search\\b.*?[#&?]tbm=isch\\b.*?[#&]q=([^#&]*)/i",
"g.s|g.x|g.xs|gs|gx|gxs: https://scholar.google.com/scholar?hl=zh-CN&q=$s \\",
" scholar.google.com re=/^(?:\\.[a-z]{2,4})?\\/scholar\\b.*?[#&?]q=([^#&]*)/i \\",
" 谷歌学术",
"gf|gfsoso: http://gg.cytbj.com/?gws_rd=ssl#newwindow=1&q=$s 谷粉搜搜",
"gf.s|gfs: http://xueshu.cytbj.com/scholar?q=$s 谷粉搜搜学术",
"Js|js\\:|Js\\:|JS|JS\\:|javascript\\:|run\\:: javascript:\\ $S; re= JavaScript",
"w3s.tag|html.tag|tag.w3s: \\",
" http://www.w3school.com.cn/tags/tag_$S{$1}.asp W3school Tag",
"w3s.attr|w3s.att|html.attr|attr.w3s: \\",
" http://www.w3school.com.cn/tags/att_$S{$1_$2}.asp W3school Tag Attr",
"t.i: http://m.tiebaimg.com/timg?wapp&quality=80&size=b400_2000&src=$s \\",
" 百度贴吧图片",
"bili: http://www.bilibili.com/search?keyword=$s",
"bili|bilibili|b.tv|Bilibili: http://search.bilibili.com/all?keyword=$s Bilibili",
"acfun|Acfun: http://www.acfun.tv/search/#query=$s Acfun",
"t|tr|g.t|g.tr|他|它: https://translate.google.com/?ie=utf-8#auto/zh-CN/$s \\",
" Google 翻译",
"tt|tp|tu: https://translate.google.com/translate?depth=1&sl=en&u=$s \\",
" Google 网页翻译",
"te|t.e|g.te|g.tr.e: https://translate.google.com/?ie=utf-8#auto/en/$s \\",
" Google Translate",
"ip: . re=/^((?:\\d{1,3}\\.){3}\\d{1,3}(?::\\d{2,5})?)\\/?$/",
"ip|IP|Ip: ip\\ $S IP 查询",
"dns\\:|DNS\\:: http://119.29.29.29/d?dn=$s Public DNS",
"gh|github: https://github.com/search?q=$s GitHub",
"ge|gitee: https://search.gitee.com/?type=repository&q=$s blank=https://gitee.com/ Gitee",
"doc: . devdocs.io/ re=/^(\\w+)\\//",
"doc|docs: http://devdocs.io/#q=$s DevDocs",
"mdn: https://developer.mozilla.org/zh-CN/search?q=$s",
"mdn: https://developer.mozilla.org/en-US/search?q=$s Mozilla DN",
"mdn.a: https://developer.mozilla.org/en-US/docs/Web/API/$S{$1/$2} \\",
" MDN Web APIs",
"mdn.e: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/$S{$1} \\",
" MDN Element",
"mdn.g: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/\\",
"Global_Objects/$S{$1/$2} MDN JavaScript",
"ciu|caniuse|CanIUse: http://caniuse.com/#search=$S Can I Use",
"",
"v\\:|v\\://: vimium://$S vimium:// re=/^([^#?]*)\\.html(?:\\#\\!?(.*))?/i Vimium C Pages",
"v.d: vimium://show\\ $S Vimium C Display",
"v.dd: . vimium://show re=/\\#\\!(\\w+)(?:\\+|%20| )download=([^&]*)&(.*)$/i",
"v.dd: vimium://show\\ $S{$1\\ download=$2&$+3} re= Vimium C Display",
"v.i: . vimium://show image re=/^(?:\\+|%20| )(?:download=[^&]*&)?(.*)$/i",
"v.i: vimium://show\\ image\\ auto=once&$S re= Vimium C Display",
"v.m: $S vimium://show url vimium://math re=/[\\.\\d][\\.\\d)]*|\\w+(?:\\([\\w\\.]+)?|[^\\w\\s]+/g",
"v.m|math|vimium\\://math|v.e|eval\\:|v\\://eval|vimium\\://eval: vimium://math\\ $S \\",
" re= Calculate",
"v.sum|sum\\:: vimium://sum\\ $S re= Calculate Sum",
"v.mul|mul\\:: vimium://mul\\ $S re= Calculate Mul",
"v.avg|avg\\:: vimium://avg\\ $S re= Calculate Avg",
"v.st: vimium://status\\ $S re= Force tab status",
"v.u|v.url|v.search|u\\:|url\\:: vimium://search\\ $S re= Search",
"v.c|copy\\:|v\\://copy|vimium\\://copy: vimium://copy\\ $S re= Copy to Clipboard",
"v.mc|v.math-copy: vimium://search-copy\\ vimium://math\\ $S re= Calculate and Copy",
"v.p|v.parse: vimium://parse\\ $S re= Redo Search",
"cd: vimium://cd\\ $S re=",
"",
"y|yt: https://www.youtube.com/results?search_query=%s \\",
" blank=https://www.youtube.com/ YouTube",
"b.m|bm|map|b.map|bmap|地图|百度地图: \\",
" https://api.map.baidu.com/geocoder?output=html&address=%s&src=vimium-c\\",
" blank=https://map.baidu.com/",
"gd|gaode|高德地图: https://www.gaode.com/search?query=%s \\",
" blank=https://www.gaode.com",
"g.m|gm|gmap: https://www.google.com/maps?q=%s \\",
" blank=https://www.google.com/maps Google Maps",
"br|brave: https://search.brave.com/search?q=%s Brave",
"dd|dg|ddg: https://duckduckgo.com/?q=%s DuckDuckGo",
"ec|ecosia: https://www.ecosia.org/search?q=%s Ecosia",
"qw|qwant: https://www.qwant.com/?q=%s Qwant",
"ya|yd|yandex: https://yandex.com/search/?text=%s Yandex",
"yh|yahoo: https://search.yahoo.com/search?p=%s Yahoo",
"",
"t|tb|taobao|ali|淘宝: https://s.taobao.com/search?ie=utf8&q=%s \\",
" blank=https://www.taobao.com/ 淘宝",
"j|jd|jingdong|京东: https://search.jd.com/Search?enc=utf-8&keyword=%s \\",
" blank=https://jd.com/ 京东",
"az|amazon: https://www.amazon.com/s/?field-keywords=%s \\",
" blank=https://www.amazon.com/ Amazon",
"ae|ali|alie|aliexp: https://www.aliexpress.com/wholesale?SearchText=%s \\",
" blank=https://www.aliexpress.com/ AliExpress",
"jb|joy|joybuy: https://www.joybuy.com/search?keywords=%s \\",
" blank=https://www.joybuy.com/ Joybuy",
""
],
"showActionIcon": false
}