Yakov Lerner-3 wrote: > > 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 > >
Yes, I mean (1). Why is it impossible? In gVIM you can also use the mouse to place cursor so I don't see a scenario where you'll "lose" the cursor. I hope there is a way to force it to keep cursor in one position without the overhead of using marks. :) Maybe some complex add-in or script or something? -- View this message in context: http://www.nabble.com/Keep-cursor-fixed-when-scrolling-with-mouse-tf3469364.html#a9682052 Sent from the Vim - General mailing list archive at Nabble.com.
