Gentoo Archives: gentoo-user

From: "Stefan G. Weichinger" <lists@×××××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] tracking IT work
Date: Sun, 11 Mar 2012 18:34:56
Message-Id: 4F5CEFDD.8020106@xunil.at
In Reply to: Re: [gentoo-user] tracking IT work by Stefan Schmiedl
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!