Diff for vimconfig/vim/plugin/templatefile.vim between version 1.15 and 1.16
| version 1.15, 2003/11/18 13:49:50 |
version 1.16, 2003/11/20 15:02:17 |
|
|
| " Vim global plugin for autoload template files |
" Vim global plugin for autoload template files |
| " File: templatefile.vim |
" File: templatefile.vim |
| " Maintainer: Lubomir Host 'rajo' <rajo AT platon.sk> |
" Maintainer: Lubomir Host 'rajo' <rajo AT platon.sk> |
| " Version: $Platon: vimconfig/vim/plugin/templatefile.vim,v 1.14 2003/11/03 08:20:22 rajo Exp $ |
" Version: $Platon: vimconfig/vim/plugin/templatefile.vim,v 1.15 2003/11/18 13:49:50 rajo Exp $ |
| " |
" |
| " Thanks: |
" Thanks: |
| " Scott Urban: First version of templatefile.vim |
" Scott Urban: First version of templatefile.vim |
| Line 105 function! LoadTemplateFile() |
|
| Line 105 function! LoadTemplateFile() |
|
| silent! execute ":call " . template_func . "()" |
silent! execute ":call " . template_func . "()" |
| endif |
endif |
| endif |
endif |
| |
" delete last line - don't save deleted line into register |
| |
" (use blackhole register '_') |
| |
silent! execute 'normal G"_dd' |
| |
" go to first line |
| silent! execute "normal gg" |
silent! execute "normal gg" |
| endfunction |
endfunction |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|