djsnipa1
4/18/2019 - 8:24 PM

cVimrc configuration file

cVimrc configuration file

set linkanimations
set autoupdategist
set noautofocus " The opposite of autofocus; this setting stops
                " sites from focusing on an input box when they load

" 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>

" Script hints
echo(link) -> {{
  alert(link.href);
}}
map <C-f> createScriptHint(echo)

let blacklists = ["https://mail.google.com/*", "*://mail.google.com/*", "@https://mail.google.com/mail/*", "*://remotedesktop.google.com/*"]
" blacklists prefixed by '@' act as a whitelist