The 'equalalways' option makes all the windows the same size after a window is 
split or closed. However, it doesn't when the Vim window (either the terminal 
or the GUI) is resized. I hear many people run [g]vimdiff or ':vsplit', enlarge 
the Vim window, only to find only one of the two inner windows is enlarged, and 
ask how to make them equal automatically.

The proper way is, AFAIK, to insert the following in the .vimrc:

autocmd VimResized * if &equalalways | wincmd = | endif
" To be complete, it should be enclosed by if has("autocmd")...endif.

I wonder if the effect of 'equalalways' failing to cover the VimResized event 
was an oversight, and should be considered as a bug. Shouldn't it be the 
default that windows be made the same size when 'equalalways' is on?

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui