Last active
January 8, 2018 19:53
-
-
Save maddenpj/ca7542e4c96452fb4582dbc0ef440f39 to your computer and use it in GitHub Desktop.
cVim Settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Global | |
set noautofocus | |
let searchalias g = "google" | |
let blacklists = ["*://github.com/*","*://*.github.com/*","http://45.55.219.52/*","https://portal.azure.com/*"] | |
command g tabnew google | |
map <C-d> scrollPageDown | |
map <C-e> scrollPageUp | |
map <C-q> :duplicate<CR> | |
map t :tabnew chrome:/newtab<CR> | |
imap <C-w> deleteWord | |
" Site-specific | |
site '*://*.youtube.com/*' { | |
map dq :open @%?disable_polymer=true<CR> | |
map dw :open @%&disable_polymer=true<CR> | |
} | |
site '*://*.reddit.com/*' { | |
unmap j | |
unmap k | |
unmap ] | |
unmap ]] | |
unmap [ | |
unmap [[ | |
unmap c | |
unmap x | |
set numerichints | |
} | |
" Misc | |
getIP() -> {{ | |
httpRequest({url: 'http://api.ipify.org/?format=json', json: true}, | |
function(res) { Status.setMessage('IP: ' + res.ip); }); | |
}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment