Am 09.03.2012 14:37, schrieb Stefan Schmiedl:
> Am 08.03.2012 20:00, schrieb Stefan G. Weichinger:
> 
>> oh, sorry, vi(m) here :-P
> 
> I'm using a plain text file (ok |-separated values) for this and a
> single macro:
> 
>   imap <localleader>m <SPACE>\| <ESC>"=strftime("%Y-%m-%d %H:%M")<CR>pa¶
> 
> Then, in insert mode \m appends " | <now>" after the cursor,
> and you have just fixed the start or stop time for the entry.
> 
> My work log looks like this:
> 
> client | item | start | stop
> 
> and once it's been run through my billing script, the billed items
> are tagged
> 
> client | item | start | stop | billed

interesting approach, thanks!

Reply via email to