Last active
January 16, 2018 13:33
-
-
Save plumps/e6f01339889b37387a758e914ffcd068 to your computer and use it in GitHub Desktop.
cvimrc
This file contains hidden or 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
" this will enable the config block below on the domain 'reddit.com' | |
site '*://*.reddit.com/*' { | |
unmap j | |
unmap k | |
set numerichints | |
} | |
site '*://github.com/*' { | |
unmap t | |
} | |
" Code blocks (see below for more info) | |
getIP() -> {{ | |
httpRequest({url: 'http://api.ipify.org/?format=json', json: true}, | |
function(res) { Status.setMessage('IP: ' + res.ip); }); | |
}} | |
" Displays your public IP address in the status bar | |
map ci :call getIP<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment