Loading ...
Sorry, an error occurred while loading the content.

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

Expand Messages
  • Tim Chase
    ... 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
    Message 1 of 3 , Apr 29, 2011
    • 0 Attachment
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.