Thomas Adam wrote:
> Let's say I'm editing a filetype (regardless) and the "tw"
> value is set to "78".  This works fine on new lines where I
> am typing new text -- when I d this the line I am typing
> wraps at 78 chars, and all is happy with world.
>
> This falls apart though when I then decide I need to ammend
> an existing line.  As soon as I need to do that, the wrapping
> happens at an odd place, such that I then find myself having
> to press "gq}" to reformat the paragraph, because the edit
> I've made has made a mess of the formatting.

See these (incomplete) tips:
http://vim.wikia.com/wiki/Automatic_formatting_of_paragraphs
http://vim.wikia.com/wiki/Format_paragraph_without_changing_the_cursor_position

I do not use the automatic formatting (text reflow while
typing). I just type gqip when necessary (although the second
tip points out that gwap may be better).

John

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to