Add .sh template and update .vimrc

This commit is contained in:
Gea-Suan Lin
2012-02-23 14:37:02 +08:00
parent c2a0ac35fd
commit ed95c6df5a
2 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1 @@
#!/bin/sh

4
.vimrc
View File

@@ -48,6 +48,10 @@ function LoadPerlTemplate()
0r ~/.vim/template/production.pl
normal Gdd
endfunction
function LoadShellTemplate()
0r ~/.vim/template/production.sh
normal Gdd
endfunction
autocmd BufNewFile *.html call LoadHTMLTemplate()
autocmd BufNewFile *.pl call LoadPerlTemplate()