On Thu, Apr 10, 2008 at 02:18:49PM +0200, Jim Meyering wrote:
> Daniel Veillard <[EMAIL PROTECTED]> 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  <[EMAIL PROTECTED]>'

  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 :-)

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to