"Snapping" is a feature of Windows. It makes the window you drag to the
edge to automatically take half of the screen. I don't know if your current
Gnome supports it.

I'm afraid you misunderstood my post. I also see the vertical split at far
left on `wincmd H` and there are no problems with it. The point was
different. Vim's main (GUI) window jumps to its previous location (before
snapping), and this is an obvious bug.


On Wed, Nov 13, 2013 at 3:45 AM, Tony Mechelynck <
[email protected]> wrote:

> On 13/11/13 01:48, Alexander Shukaev wrote:
>
>> Hello,
>>
>> I want to report a bug which I found quite some time ago, but lately it
>> became particularly annoying as one of my plugins depends on the bugged
>> functionality.
>>
>> I don't know if it's present on other platforms, but it is definitely
>> present on Windows (GUI version, of course). To reproduce, do the following:
>>
>> 1. Create a stack of windows, i.e. there can be as many windows as you
>> like, but there should be only horizontal splits (aka `:sp`);
>> 2. Remember the position of Vim's main window now (upper-left corner);
>> 3. Perform snapping: drag Vim's main window to left or right edge so that
>> it "snaps", i.e. covers half of the screen;
>> 4. In any of the windows in Vim perform `:wincmd H`;
>> 5. Notice how Vim's main window instantly jumps to the previous position
>> before snapping (the one you should have remembered); pretty annoying,
>> isn't it?
>>
>> There are other ways to reproduce it, and all of them result in this bug.
>> For example:
>>
>> 1. Have your Vim with just one window opened inside;
>> 2. Snap;
>> 3. Perform `:vsp`;
>> 4. Boom, the jump happens again.
>>
>> NOTE: If you'd do `:sp` instead, everything would be smooth, no buggy
>> jumps. So I suspect that this issue is especially related to "vertical"
>> actions.
>>
>> Hopefully, this is fixable. Regards.
>>
>>
> I don't see this on GTK2/Gnome2, but also I can drag gvim as far as I want
> to the side (with still a few pixels in view so that my mouse can still
> hold the titlebar), I don't see any "snapping" at step 3.
>
> I tried with ":wincmd H" and also with Ctrl-W H which is supposed to be
> equivalent; and I do see the current window contents move to a full-height
> vertical split at far left, which is what these commands are supposed to do
> according to the help.
>
>
> Best regards,
> Tony.
> --
> Life is like a tin of sardines.  We're, all of us, looking for the key.
>                 -- Beyond the Fringe
>
>
> --
> --
> 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
>
> --- You received this message because you are subscribed to a topic in the
> Google Groups "vim_dev" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/vim_dev/AT9j0nyIKFg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui