3 ноября 2011 г. 11:09 пользователь Tony Mechelynck <
[email protected]> написал:

> On 03/11/11 05:54, Дмитрий Франк wrote:
> Hmm, IIUC Vim doesn't know about multiple monitors, or about the fact that
> negative coordinates might be meaningful: so when it moves or resizes the
> Vim screen (moves with :winpos, resizes by changing 'lines' 'columns' or,
> in gvim, 'guifont') it will try to adjust its coordinates so that:
>
>        0 <= Xmin < Xmax <= Width
>        0 <= Ymin < Ymax <= Height
>

But could you please change this behaviour?  Personally i need to make my *
right* monitor to be *primary*, and, after all, you see that negative
coordinates *is* meaningful. Actually, even if Gvim stays in primary
monitor, but it is maximized, then coordinates is "-4 -4" - it is negative
again.

Something wrong.


> where Xmin, Xmax, Ymin, Ymax refer to the Vim screen, Width and Height to
> your monitor. This will of course backfire if you try to move the Vim
> screen to a secondary monitor, especially if it is located above or to the
> left of the primary.
>
> You could try naming your topleftmost monitor the primary, but only
> experiment will tell if it will work.
>
>
> Best regards,
> Tony.
> --
> Fudd's First Law of Opposition:
>        Push something hard enough and it will fall over.
>

-- 
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

Raspunde prin e-mail lui