I'd like to have the timestamp inserted on a new line every time I open a certain file.
I see that
put =strftime('%c') is the command that I want, and that putting that command into a file, say
pjf.vim - and then into the folder
.vim/ftplugin/ should do the trick. But unfortunately, it doesn't.
autocmd almost does what I want - but with :
autocmd VimEnter *.pjf pu=strftime('%c') - it puts the timestamp at the top of the file...
Anyone have any clues?