tags:

views:

552

answers:

2

I'm on a Hardy Heron Ubuntu build, BTW.

A: 
andy
The scroll wheel works fine for the rest of the Gvim's modes. The only place where the problem appears is when the console's ":!" output exceeds the window size. (It works the way it's supposed to when I'm under gnome-terminal and xterm, though.)
+1  A: 

Try:

:set mouse=a

":help mouse" says

Enable the use of the mouse.  Only works for certain terminals
(xterm, MS-DOS, Win32 |win32-mouse|, qnx pterm, and Linux console
with gpm).  For using the mouse in the GUI, see |gui-mouse|.
The mouse can be enabled for different modes:
 n Normal mode
 v Visual mode
 i Insert mode
 c Command-line mode
 h all previous modes when editing a help file
 a all previous modes
 r for |hit-enter| and |more-prompt| prompt
 A auto-select in Visual mode
Normally you would enable the mouse in all four modes with: >
 :set mouse=a
When the mouse is not enabled, the GUI will still use the mouse for
modeless selection.  This doesn't move the text cursor.
pk