Re: proposal: remove contradictory indentation directive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

  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@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]