Skip to content

Instantly share code, notes, and snippets.

@vbauerster
Created September 3, 2018 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vbauerster/f6373799e6c733a5a141696cff143c21 to your computer and use it in GitHub Desktop.
Save vbauerster/f6373799e6c733a5a141696cff143c21 to your computer and use it in GitHub Desktop.
let mapleader = " "
"set showtabindices
"set smoothscroll
map g{ previousTab
map g} nextTab
" 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 <Leader><Leader> :call getIP<CR>
let blacklists = ["https://thetypingcat.com/*","http://thetypingcat.com/*","http://www.keybr.com/*","http://zty.pe/*","http://klavogonki.ru/*"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment