Skip to content

Instantly share code, notes, and snippets.

@Cs4r
Last active March 9, 2017 23:42
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 Cs4r/8082736ec963c81b0c55c0eca51a1efb to your computer and use it in GitHub Desktop.
Save Cs4r/8082736ec963c81b0c55c0eca51a1efb to your computer and use it in GitHub Desktop.
my cVim settings
set nohud
set nosmoothscroll
set noautofocus
" 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