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

Re: [sup-talk] vim text wrapping



Hi,

On Thu, 17 Mar 2011, Philippe LeCavalier wrote:
> Since I don't write very well I always end up making changes while
> re-reading myself. When I edit a line Vim doesn't wrap anymore like it
> did when I first typed the text. So all the lines I've edited aren't
> wrapped like the others. It can make reading my mail challenging at
> times.

I've not managed to get vim to do this automatically (I haven't tried much
though). What I usually do is, once I've re-edited a paragraph and it has some
overflowing lines, go to that paragraph in Normal mode and do:

vip  (to select the whole paragraph), then
gq   (to rewrap the selected text).

HTH,

Pete.
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk