Re: open file and write current date?

2011-10-31 Thread Eric Maquiling
On Sun, Oct 30, 2011 at 08:44:52PM -0500, Tim Chase wrote: autocmd BufRead mylog.txt sil! $put=strftime('%c')|sil! $put_ | startinsert SWEEETNESSS!! Works like a charm! Thank you! -- Eric -- You received this message from the vim_use maillist. Do not top-post! Type your reply below

Re: open file and write current date?

2011-10-30 Thread Tim Chase
On 10/27/11 18:33, Eric Maquiling wrote: Hi all, I don't recall seeing a reply to this and it's been a couple days so I'll take a rough stab at it vim + filename (will take me to end of the file) then add the current date/time (I already have iab for the current date/time from Guckes site)

open file and write current date?

2011-10-27 Thread Eric Maquiling
Hi all, Wondering if I can have a little help. Not that great with macros but I would like to be able to have a file do the following vim + filename (will take me to end of the file) then add the current date/time (I already have iab for the current date/time from Guckes site) ..and then start