Last active
January 10, 2018 01:39
-
-
Save allex/fd87462a5b42e88e5d632b3f0a065cbf to your computer and use it in GitHub Desktop.
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
| " 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