on Fri, 26 Jul 2002 12:06:41PM -0500, Lance Simmons insinuated: > On Fri, Jul 26, 2002 at 12:34:27PM -0500, Nori Heikkinen wrote: > > i spent about a week using vim before i was told about gq}, and > > hated it until then. i too automatically rewrap text ... without > > it i might still be using emacs ;) > > If you put "map fd ggV/^-- <CR><up>gq" in your .vimrc, then "fd" > will wrap everything, stopping at your signature line and placing > the cursor there, where you can start your reply. hm, gq} does exactly that in three keystrokes, and that without the extra line in the .vimrc. i suppose over a lifetime you're saving a little extra exertion, though -- after you've fd'd 25 times (once for each character in that line you typed), you're equal, and who knows, it might make the difference between carpal tunnel and pain-free geeking after thirty years. ;) </nori> -- .~. nori @ sccs.swarthmore.edu /V\ http://www.sccs.swarthmore.edu/~nori/jnl/daily.html // \\ @ maenad.net /( )\ www.maenad.net ^`~'^
Attachment:
pgpLdsv8pd611.pgp
Description: PGP signature