Last active
July 21, 2017 08:56
-
-
Save auxiliary-character/5f366bf22d17a0f3eb064b6dd46a48f8 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
| execute pathogen#infect() | |
| filetype indent plugin on | |
| syntax on | |
| set nu | |
| set backspace=indent,eol,start | |
| set shiftwidth=4 | |
| set softtabstop=4 | |
| set expandtab | |
| set shiftwidth=4 | |
| set tabstop=4 | |
| set clipboard^=unnamed | |
| set mouse=a | |
| autocmd FileType yaml set shiftwidth=2 | |
| autocmd FileType yaml set softtabstop=2 | |
| autocmd FileType yaml set shiftwidth=2 | |
| autocmd FileType yaml set tabstop=2 | |
| autocmd FileType python map <buffer> <S-e> :w<CR>:!/usr/bin/env python %<CR> | |
| cmap w!! w !sudo tee % > /dev/null | |
| set confirm | |
| match ErrorMsg '\s\+$' | |
| command Nowhite execute "%s/\\s\\+$//g | norm!``" | |
| command Tabspace execute "%s/\t/ /g | norm!``" | |
| command Spacetab execute "%s/ /\t/g | norm!``" | |
| command Encrypt execute "%!gpg -ea" | |
| command Decrypt execute "%!gpg -d" | |
| command Sign execute "%!gpg --clearsign" | |
| command Hex execute "%!xxd" | |
| command Unhex execute "%!xxd -r" | |
| command Json execute "%!python -m json.tool" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment