On Dec 16, 7:02 am, Anthony Campbell <a...@acampbell.org.uk> wrote: > I occasionally want to eliminate all the text wrapping in a file (to be > able to import it into oowriter). > > I have tried setting tw=0 and fo-=t but text wrapping persists. I can > get the effect by setting tw to a large value, such as 2000, but is > there a better way? >
Setting tw to zero (and wrapmargin to zero) will make sure Vim doesn't wrap as you type. It will not have any effect on text that has already been entered. Other people have given you ideas of how to do this. If you work in this way, you may want to set 'wrap' and 'linebreak', and set 'showbreak' to some value. -- 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