Bringing it up with " gvim -u NONE -U NONE", I see guioptions=egmrLtT. I set it to your options (gimrLTt) and I see the same behavior as before - the mouse wheel only scrolls the left window.
> When running as a GUI, if I use my mouse wheel to scroll, > the window under the mouse pointer scrolls, regardless of > whether or not it is selected for keyboard input. IMHO > this is "proper" behavior. I agree. Even with the CTRL-mouse-wheel work-around, it scrolls the right/left window based on which window is selected/active. I agree with you, it should simply scroll the window under the pointer. -----Original Message----- From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] Sent: Monday, May 14, 2007 8:22 PM To: Waters, Bill Cc: vim@vim.org Subject: Re: mouse-wheel scrolling with vertically split windows Waters, Bill wrote: > (I am using gVim 7.1 in Windows XP.) > > If I do a :vsplit, I end up with a scroll bar on the right for the right > window and a scroll bar on the left for the left window. When I use my > mouse wheel to scroll, the left window scrolls, regardless of which > window is selected. > > If I do a Edit->Global Settings->Toggle Right Scroll Bar, the right > scroll bar disappears. But I am able to mouse-wheel scrolling based on > which window is selected. > > Is there a way to keep both scroll bars, and be able to mouse-wheel > scroll based on which window is selected? > > I am using Vim 7.1.1 with GTK2/Gnome GUI on openSUSE Linux 10.2 with kde desktop. When running as a GUI, if I use my mouse wheel to scroll, the window under the mouse pointer scrolls, regardless of whether or not it is selected for keyboard input. IMHO this is "proper" behaviour. In the GUI, when there are three vertically split windows, and I use the scrollbars (not the wheel) then which scrollbar moves the (selected) middle window depends on which window it was split from. In console mode there are no scrollbars: When running in konsole, then if I use the wheel, the selected window scrolls, not necessarily the one under the mouse pointer. When running in the linux console (/dev/tty), the mouse is recognised but the wheel has no effect. What is your 'guioptions' set to? Mine is gimrLTt and in the GUI I see the right-hand scrollbar always, the left-hand one if there is a vertical split. Best regards, Tony. -- "I'd love to go out with you, but I'm converting my calendar watch from Julian to Gregorian."