Gentoo Archives: gentoo-user

From: Stefan Schmiedl <s@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] tracking IT work
Date: Fri, 09 Mar 2012 13:38:35
Message-Id: 4F5A077F.8020304@xss.de
In Reply to: Re: [gentoo-user] tracking IT work by "Stefan G. Weichinger"
1 Am 08.03.2012 20:00, schrieb Stefan G. Weichinger:
2
3 > oh, sorry, vi(m) here :-P
4
5 I'm using a plain text file (ok |-separated values) for this and a
6 single macro:
7
8 imap <localleader>m <SPACE>\| <ESC>"=strftime("%Y-%m-%d %H:%M")<CR>pa¶
9
10 Then, in insert mode \m appends " | <now>" after the cursor,
11 and you have just fixed the start or stop time for the entry.
12
13 My work log looks like this:
14
15 client | item | start | stop
16
17 and once it's been run through my billing script, the billed items
18 are tagged
19
20 client | item | start | stop | billed
21
22 s.

Replies

Subject Author
Re: [gentoo-user] tracking IT work "Stefan G. Weichinger" <lists@×××××.at>