Re: Start vim with a datestamped filename?

2017-03-13 Thread George Skuse
On Monday, March 13, 2017 at 9:24:30 AM UTC-4, Tim Chase wrote: > On 2017-03-12 13:56, George Skuse wrote: > > I'd like to have the filename dynamically datestamped > > (MMdd_hhmmss), ie: filename-20170312_165737.txt > > > > Does anyone know how this could be accomplished as part of the > > in

Re: Start vim with a datestamped filename?

2017-03-13 Thread 'Andy Wokula' via vim_use
Am 12.03.2017 um 21:56 schrieb George Skuse: Hi, vim -c "silent edit filename.txt" starts vim with an unsaved file named filename.txt... I'd like to have the filename dynamically datestamped (MMdd_hhmmss), ie: filename-20170312_165737.txt Does anyone know how this could be accomplished a

Why doesn't Vim auto cleanup old junk files (.swp holding no changes and are not a lock)

2017-03-13 Thread L. A. Walsh
Tony Mechelynck wrote: On Sun, Mar 12, 2017 at 1:41 AM, L A Walsh wrote: I have near a dozen files where I have both a ".cc and a .h" open but had a desktop reboot, so all have swap files now. Just now, I opened them all and found that only 1 pair had any changes that needed to be addressed,

Re: Start vim with a datestamped filename?

2017-03-13 Thread Tim Chase
On 2017-03-12 13:56, George Skuse wrote: > I'd like to have the filename dynamically datestamped > (MMdd_hhmmss), ie: filename-20170312_165737.txt > > Does anyone know how this could be accomplished as part of the > invocation using vim commands? This needs to be crossplatform and > not rely