[Libvir] proposal: remove contradictory indentation directive
Daniel Veillard
veillard at redhat.com
Thu Apr 10 17:38:13 UTC 2008
On Thu, Apr 10, 2008 at 02:18:49PM +0200, Jim Meyering wrote:
> Daniel Veillard <veillard at 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 at 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 :-)
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the libvir-list
mailing list