On 04/08/2011 09:30 AM, Tim Gray wrote:
Is there really no way for Vim to soft wrap at a specified
column? I know I can turn on hard wrapping or resize the
window. Unfortunately, when you resize the window to
something that makes really long lines more readable (like
80-90 columns), as soon as you perform a vsplit, you have to
go and resize the window again to get back to something
reasonable.
While I don't know if Vim offers exactly what you're looking for,
you might be interested in the 'winwidth' (and possibly
'winminwidth') setting which should help prevent vert-splits from
squeezing you too small (presuming that your total vim/screen
width is wide enough to accommodate the new split window without
smooshing the original window):
:set winwidth=80
Unfortunately, the 'winminwidth' is a global option, not a local
option which makes it hard to designate a single window as a
"don't squish me" window".
-tim
--
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