if has("autocmd") " load template file for new file and jump to line # autocmd BufNewFile *.pl r ~/.vim/templates/pl | 1d | 5 endif #### #!/usr/bin/perl use strict; use warnings; #> global variables (the less, the better) #> -------------------------------------------------------------------------- #> sub routines #> -------------------------------------------------------------------------- # main script #> -------------------------------------------------------------------------- __END__