Paul Betts wrote:

> I often stretch a gVim window across two monitors, putting the vertical
> split in between the two monitors so that I can quickly switch between
> them and edit in both monitors. However, if I size the window then
> vertical split it, the window will resize itself to one desktop. I
> suspect that gVim is using the wrong function to get the size of the
> desktop, but I haven't investigated it myself.
> 
> In summary,
> 
> To reproduce:
> 1. Open a gVim window in Windows on a dual-monitor machine
> 2. Stretch it across both monitors (Not maximized, just stretched across
> both desktops)
> 3. Type C-w v to create a vertical split
> 
> Expected:
>  Vim should split the window without moving it
> 
> Actual:
>  Vim splits the window and resizes it to the left monitor.
> 
> Email me back and let me know if I can be of any help, thanks for the
> great program!

What kind of system are you on?

You can probably work around the problem with:

        :set guioptions+=lr

A real solution would be better though.  I don't have such a system to
try it out on.

-- 
"Hit any key to continue" is very confusing when you have two keyboards.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to