Friday, April 29, 2011

Re: vim to resize split windows when size of xterm's window changes

On 04/29/2011 09:26 AM, Taylor Hedberg wrote:
> There's a "VimResized" event that you can use with autocommands. I'd try
> something like this (untested):
>
> autocmd VimResized * normal!<C-W>=

There's a :wincmd command, so you should be able to just do

autocmd VimResized * wincmd =

-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

No comments:

Post a Comment