Last active
November 3, 2017 09:31
-
-
Save iocentos/307042368e4d2f6df5f829fe2ce8f9f7 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
set noautofocus | |
set nocncpcompletion | |
set smoothscroll | |
let searchlimit = 40 | |
let barposition = "bottom" | |
let scrollstep = 200 | |
" This remaps the default 'f' mapping to the current 'F' mapping | |
map f F | |
map <C-l> nextTab | |
map <C-h> previousTab | |
map <C-f> scrollFullPageDown | |
map <C-b> scrollFullPageUp | |
map u lastClosedTab | |
let mapleader = "\\" | |
" Insert mode | |
imap <C-a> beginningOfLine | |
imap <C-e> endOfLine | |
imap <C-u> deleteToBeginning | |
imap <C-k> deleteToEnd | |
imap <C-w> deleteWord | |
imap <C-f> forwardChar | |
imap <C-b> backwardChar | |
imap <C-p> backwardLine | |
imap <C-n> forwardLine | |
" 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>ip :call getIP<CR> | |
map <Leader>gi :tabopen https://github.com<CR> | |
map <Leader>Gi :open https://github.com<CR> | |
map <Leader>gm :tabopen https://mail.google.com/mail/#index<CR> | |
map <Leader>Gm :open https://mail.google.com/mail/#index<CR> | |
site "https://docs.google.com/*" { | |
unmapAll | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment