-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cVimrc
50 lines (38 loc) · 1.32 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
""" Settings
" Define a search engine
" If you leave out the '%s' at the end of the URL,
" your query will be appended to the link.
" Otherwise, your query will replace the '%s'.
let searchengine amazon = "https://www.amazon.co.jp/s/?field-keywords=%s"
let searchengine weblio = "https://ejje.weblio.jp/content/%s"
let searchengine presearch = "https://engine.presearch.org/search?q="
" Define a command
" For example, alias ':g' to ':tabnew google'
command g tabnew google
command d tabnew weblio
" Use only the specified search engines
let completionengines = ["google", "amazon", "weblio", "presearch"]
" Create a shortcut for search engines.
" For example, typing ':tabnew g example'
" would act the same way as ':tabnew google example'
let searchalias g = "google"
let searchalias d = "weblio"
" Define the default search engine
let defaultengine = "presearch"
" If a GitHub Gist is used to sync settings, pull updates every hour (and when Chrome restarts)
set autoupdategist
" Black list
let blacklists = ["https://taskchute.cloud", "https://app.clickup.com/*"]
" Display the tab index in the tab’s title
" It's useful to switch to tab <N> with `<N>%` mapping
"set showtabindices
""" Mappings
" Movement
map <C-d> scrollPageDown
map <C-u> scrollPageUp
unmap d
unmap u
unmap e
" Tab Navigation
map J nextTab
map K previousTab