Created
August 30, 2016 05:57
-
-
Save crazyguitar/47bcc6badecb821481d67901884805ee 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
" python file template " | |
au BufNewFile *.py 0r ~/.vim/templates/template.py | |
" Makefile template " | |
au BufNewFile Makefile,makefile 0r ~/.vim/templates/Makefile.temp | |
" c template " | |
au BufNewFile *.c 0r ~/.vim/templates/c.temp | |
" folding *.h comment" | |
au BufNewFile,BufRead *.cpp,*.c,*.h,*.java setlocal foldmethod=syntax |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment