Re: vimdiff: keep buffers equal width when window is resized
- I have the following in my _vimrc
set guifont=Andale_Mono:h8:w4.5 columns=165
set guifont=Bitstream_Vera_Sans_Mono:h10 columns=80
" handle diff-mode specially
Life is a series of problems.
Do we want to moan about them or solve them?
-- M. Scott Peck
(Get Witty Auto-Generated Signatures from http://SmartBee.org)
George V. Reilly mailto:george@...
Read my weblog: http://erablog.net/blogs/george_v_reilly/
----- Original Message -----
From: "Antoine J. Mechelynck" <antoine.mechelynck@...>
To: "Yakov Lerner" <yakov.lerner@...>; <vim@...>
Sent: Sunday, June 29, 2003 3:02 AM
Subject: Re: vimdiff: keep buffers equal width when window is resized
> Yakov Lerner <yakov.lerner@...> wrote:
> > When I run vimdiff, I often resize the width of the xterm/vim window.
> > Vim adjusts, but in unexpected way: it doesn't keep widths of halves
> > equal (only right buffer is adjusted, and left buffer stays same
> > size).
> > Naturally, I'd prefer widths of both halves to adjust
> > automatically to remain 1/2 width of the window
> > when the window is resized. How do I do it ?
> > Does such auto-event -- WinResize -- exist ?
> > Jacob
> :help 'equalalways'
> :help 'eadirection'
> :help CTRL-W_=
> :help :vertical-resize