2

私は、Hardy Heron Ubuntu ビルドを使用しています。

4

2 に答える 2

1

試す:

:set mouse=a

":help mouse" と言う

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.
于 2008-10-14T12:59:39.687 に答える
0

あまり役に立たないので、この答えを出すのは嫌いですが、私にとってはうまくいきます(ubuntu hardyのgvimのスクロールホイール)。

しかし、問題のデバッグに役立ついくつかのことを提案できるかもしれません:

  1. 「gvim」を実行していて、表示される新しいウィンドウをスクロールしようとしていることを確認します (つまり、xterm で vim を実行していて、マウスでスクロールしようとしているのではありません)。
  2. 他のアプリでスクロール ホイールが機能することを確認します。不明な場合は、「xev」を使用して、X サーバーがスクロール イベントを認識していることを確認してください。

それが役立つことを願っています。

于 2008-10-14T02:21:45.013 に答える