Skip to content

Instantly share code, notes, and snippets.

@jiyee
Last active April 13, 2017 06:56
Show Gist options
  • Save jiyee/8c4eb352a3c76996ca0c to your computer and use it in GitHub Desktop.
Save jiyee/8c4eb352a3c76996ca0c to your computer and use it in GitHub Desktop.
cvim Options
set typelinkhints
let previousmatchpattern = "((?!last)(prev(ious)?|back|«|less|<|‹|.*上一页|返回)+)"
let nextmatchpattern = "((?!first)(next|more|>|›|»|forward|下一页.*)+)"
let blacklists = ["https://mail.google.com/*", "*://mail.google.com/*"]
let searchengine baidu = "https://www.baidu.com/s?wd=%s"
let completionengines = ["google", "baidu"]
let searchalias g = "google"
let searchalias b = "baidu"
map <Leader>r reloadTabUncached
map gb lastUsedTab
" Displays your public IP address in the status bar
getIP() -> {{
httpRequest({url: 'http://api.ipify.org/?format=json', json: true}, function(res) { Status.setMessage('IP: ' + res.ip); });
}}
map ci :call getIP<CR>
let configpath = '/Users/jiyee/.cvimrc'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment