Skip to content

Instantly share code, notes, and snippets.

@allex
Last active January 10, 2018 01:39
Show Gist options
  • Select an option

  • Save allex/fd87462a5b42e88e5d632b3f0a065cbf to your computer and use it in GitHub Desktop.

Select an option

Save allex/fd87462a5b42e88e5d632b3f0a065cbf to your computer and use it in GitHub Desktop.
" cVim settings
" GistID: fd87462a5b42e88e5d632b3f0a065cbf
" GistURL: https://gist.github.com/fd87462a5b42e88e5d632b3f0a065cbf
" setting
set smoothscroll
let searchlimit = 30
let scrollstep = 70
let barposition = "top"
let mapleader = ","
let blacklists = ["http://localhost/*"]
" map
map <C-f> scrollPageDown
map <C-b> scrollPageUp
" Use paste buffer in mappings
map T :tabnew wikipedia @"<CR>
" alias ':g' to ':tabnew google'
command g tabnew google
" 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