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

Re: [sup-talk] vim text wrapping



On Thu, Mar 17, 2011 at 10:26 AM, Philippe LeCavalier
<support@plecavalier.com> wrote:
> Hi All.
>
> This is more of a vim question than it is a sup one but I'm not a
> member of the vim list so I thought I'd ask you guys first.
>
> 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.
>
> Perhaps I'm misunderstanding how to properly edit text in vim?

You can have vim justify all the text in a paragraph.  I have these in
my .vimrc, which makes typing Q justify the text.

" n is for normal mode
nnoremap Q gqap
" v is for visual mode.
vnoremap Q gq



>
> --
> Thanks,
> Phil
> _______________________________________________
> sup-talk mailing list
> sup-talk@rubyforge.org
> http://rubyforge.org/mailman/listinfo/sup-talk
>



-- 
Erin Scott Sheldon
Brookhaven National Laboratory
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk