Last active
August 29, 2015 14:04
-
-
Save DineshReddyK/9c0fbc6d6fcd24dea585 to your computer and use it in GitHub Desktop.
Vim template
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
"vim to load default templates on opening cpp/c/sh files | |
augroup templates | |
autocmd! | |
"Auto load wile creating new files | |
autocmd BufNewFile *.cpp 0r ~/.vim/templates/skeleton.cpp | |
autocmd BufNewFile *.c 0r ~/.vim/templates/skeleton.c | |
autocmd BufNewFile *.sh 0r ~/.vim/templates/skeleton.sh | |
augroup END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment