On Mon, 7 Jan 2002 20:57:53 -0500 Joel Hammer wrote: > The more I learn about vi the better it becomes. > > Just to pass along a couple of tricks I recently learned about vi (vim) > which have made a huge difference in my use of it. > > A big problem with vi is fixing up those ragged lines after you edit a > paragraph. You can just pass the lines through a filter fmt and it fixes > that right up. Just position your cursor in the paragraph you want to fix > up, and have a blank line at the end and the beginning of the paragraph, > (Blank lines separate paragraphs as far as I can tell.)
I used to do that, I now use gq} it honors tabbed lists like : - this is a list with proper indenting and generally does a *real nice job*. What I really want to do is write a script I can call that uses Text::Format from Perl, because it is *really* powerful. BTW - there is a very active vim e-mail list if you really need another 50 or so e-mails each day. 8-) Check out vim.org -- ----------------------------------------------------------------------- | Alan K. Jackson | To see a World in a Grain of Sand | | [EMAIL PROTECTED] | And a Heaven in a Wild Flower, | | www.ajackson.org | Hold Infinity in the palm of your hand | | Houston, Texas | And Eternity in an hour. - Blake | ----------------------------------------------------------------------- _______________________________________________ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users