On Sat, 21 Feb 2009, Charles E. Campbell, Jr. wrote:
> 
> eliweiqiang wrote:
> > Sometimes I will use the mouse to control page scroll, but the cursor
> > will scroll with the page, then I can not find its original location.
> > So, how can I fix the cursor? like other editors, their cursors won't
> > move while scrolling.
> >    
> One interpretation: you want the cursor to remain fixed with respect to 
> the text...

I should have similar experience in that the "current line" can not go
out of the visible window. Eg, If the current line is "30" and you use
the scroll bar to scroll down to line 100, you will see the current
line become the top line of the current visible window.  My workaround
is to mark the original line and jump back after scrolling.  The
effect is prominent because I hightlight the current line.  I am also
interested to know if the current line can outside the current visible
window or not.

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩185 杜甫  聞官軍收河南河北
    劍外忽傳收薊北  初聞涕淚滿衣裳  卻看妻子愁何在  漫卷詩書喜欲狂
    白日放歌須縱酒  青春作伴好還鄉  即從巴峽穿巫峽  便下襄陽向洛陽

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to