1 |
Am 09.03.2012 14:37, schrieb Stefan Schmiedl: |
2 |
> Am 08.03.2012 20:00, schrieb Stefan G. Weichinger: |
3 |
> |
4 |
>> oh, sorry, vi(m) here :-P |
5 |
> |
6 |
> I'm using a plain text file (ok |-separated values) for this and a |
7 |
> single macro: |
8 |
> |
9 |
> imap <localleader>m <SPACE>\| <ESC>"=strftime("%Y-%m-%d %H:%M")<CR>pa¶ |
10 |
> |
11 |
> Then, in insert mode \m appends " | <now>" after the cursor, |
12 |
> and you have just fixed the start or stop time for the entry. |
13 |
> |
14 |
> My work log looks like this: |
15 |
> |
16 |
> client | item | start | stop |
17 |
> |
18 |
> and once it's been run through my billing script, the billed items |
19 |
> are tagged |
20 |
> |
21 |
> client | item | start | stop | billed |
22 |
|
23 |
interesting approach, thanks! |