Created
October 5, 2011 07:59
-
-
Save neilxp/1263906 to your computer and use it in GitHub Desktop.
.vimrc
This file contains 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 ts=2 sw=2 | |
set hlsearch | |
syntax on | |
set fileencodings=ucs-bom,utf-8,cp936 | |
if has("gui_macvim") | |
set gfn=Monaco:h13 | |
set transparency=8 | |
colorscheme desert | |
set go=egmt | |
else | |
colorscheme darkblue | |
endif | |
autocmd BufEnter *.html abbr DOCTYPE <!DOCTYPE html><CR><html><CR><head><CR><TAB><title></title><CR><TAB><script src="" type="text/javascript"></script><CR><TAB><link href="" media="screen" rel="stylesheet" type="text/css"/><CR><TAB><meta charset='utf-8'><CR></head><CR><body><CR><CR></body><CR></html><Esc>4G | |
autocmd BufLeave *.html unabbr DOCTYPE | |
autocmd BufEnter *.jade,*.js set et |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment