On 3/26/07, Some user <[EMAIL PROTECTED]> wrote:

Hello,

I'm using gVim on Windows and like it so far. There is one minor annoyance:
when I scroll with the mouse wheel (I'm trying to use only keyboard but
it'll take me a lot of time trying to break habit of using mouse to scroll),
the cursor moves with the screen. Is there a setting I can set that will
allow the cursor to remain fixed at one position when scrolling with the
mouse wheen/scrollbar?

Are you talknig about the case (1) where you scroll by more
that screenful of text , or (2) when you scroll just several lines ?

If you mean (1) , then I  think vim must keep cursor position on-screen, so
this is impossible. But you can have some mapping that let
you quickly jump to where the cursor was before scrolling (use marks).

Yakov

Reply via email to