Diff for vimconfig/vim/plugin/templatefile.vim between version 1.18 and 1.19
| version 1.18, 2003/12/09 07:26:57 |
version 1.19, 2004/03/29 14:48:53 |
|
|
| " 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.17 2003/11/20 15:53:25 rajo Exp $ |
" Version: $Platon: vimconfig/vim/plugin/templatefile.vim,v 1.18 2003/12/09 07:26:57 rajo Exp $ |
| " |
" |
| " Thanks: |
" Thanks: |
| " Scott Urban: First version of templatefile.vim |
" Scott Urban: First version of templatefile.vim |
| Line 62 function! LoadTemplateFile() |
|
| Line 62 function! LoadTemplateFile() |
|
| " Template not found |
" Template not found |
| endif |
endif |
| |
|
| let date = Escape(strftime("%d/%m/%Y")) |
let date = Escape(strftime("%Y-%m-%d")) |
| let year = Escape(strftime("%Y")) |
let year = Escape(strftime("%Y")) |
| let cwd = Escape(getcwd()) |
let cwd = Escape(getcwd()) |
| let lastdir = Escape(substitute(cwd, ".*/", "", "g")) |
let lastdir = Escape(substitute(cwd, ".*/", "", "g")) |
Platon Group <platon@platon.org> http://platon.org/
|
|