-
Notifications
You must be signed in to change notification settings - Fork 0
/
vromerc
53 lines (40 loc) · 1.91 KB
/
vromerc
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
""" """ .vromerc example file
" Note: sync with wiki
" Change key mapping in normal mode, please check Vrome Features for available key mapping
map j <C-f>
map j 10j
" Remove key mapping in normal mode
unmap <C-f>
" Change key mapping in insert mode
imap <M-h> <M-w>
" Remove key mapping in insert mode
iunmap <M-w>
" Dialog Extend Mode, Change hotkey for go next / previous / next 10 / previous 10 matched item in autocomplete
set autocomplete_prev=<S-Tab>
set autocomplete_next=<Tab>
set autocomplete_prev_10=<Up>
set autocomplete_next_10=<Down>
" set no status line -- i.e keys don't show as you type. enabled by default
set showstatus=0
" Define search engines. the value should be valid json looks like below.
" Please remember the first searchengine is the default one. in the below one, it is google
set searchengines={"google":"http://www.google.com/search?q={{keyword}}", "yahoo":"http://search.yahoo.com/search?p={{keyword}}","wikipedia":"http://en.wikipedia.org/wiki/{{keyword}}","answers":"http://www.answers.com/main/ntquery?s={{keyword}}","yubnub":"http://yubnub.org/parser/parse?command={{keyword}}"}
" You could also add some new searchengines without overwrite build in.
set searchengines+={"baidu":"http://www.baidu.com/s?wd={{keyword}}"}
" Change default search engine, default is google.
set defaultsearch=google
" Disable autocomplete
set noautocomplete
" The server port is what external server running on
" The external server is used to support launch the external editor in insert mode.
" Please refer "Support External Editor" https://github.com/jinzhu/vrome/wiki/Support-External-Editor for more
set server_port=30000
" add custom quick marks
set qm_e=chrome://extensions
" custom quick marks longer than one key
set qm_hn=http://news.ycombinator.com
" custom quick mark triggering JS (view below)
set qm_r=::javascript::CustomMark.readLater();
" vim: set ft=vim:
" Customize hintkeys
set hintkeys=niehtrsadwplu