On Mon, Apr 21, 2008 at 10:22:11AM +0200, Jim Meyering wrote:
Daniel Veillard <veillard(a)redhat.com> wrote:
> On Thu, Apr 10, 2008 at 02:18:49PM +0200, Jim Meyering wrote:
>> Daniel Veillard <veillard(a)redhat.com> wrote:
>> > for me in vi, the fingers type it by themselves without even asking the
>> > brain, that would be painful to change.
>> > Also i like the idea of having a more precise time, really, it's not
like
>> > we do one commit every few days...
>>
>> If you do that, you still have to manually append your name and email
>> address. How about teaching your fingers to type the shorter "#d"
>> (or whatever you want to call it), which would add the entire line?
>>
>> Just add this to your .vimrc file (last byte is ctrl-M, aka C-vC-m):
>>
>> map #d :r!date '+\%F Daniel Veillard <veillard(a)redhat.com>'
>
> Heh, one more map for my .vimrc (I already have a bunch to of map and
> map! to mimick Turbo Pascal/Turbo C editor keystrokes, and i still use
> them all the time :-)
Good!
If you're actually going to use that let me know, then I can
adjust (make more strict) the patch I proposed here:
http://thread.gmane.org/gmane.comp.emulators.libvirt/5929
Well except I still prefer the ChangeLog long form for dates.
Daniel
--
Red Hat Virtualization group
http://redhat.com/virtualization/
Daniel Veillard | virtualization library
http://libvirt.org/
veillard(a)redhat.com | libxml GNOME XML XSLT toolkit
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine
http://rpmfind.net/