I’m using vim 6.3.81 on a xterm through putty. When I use set mouse=a , I can scroll through the file , but not select text. When mouse is disabled using set mouse=, I can select text with mouse (automatically copied to a buffer) , but if the text block is over one page long , I can’t scroll up/down (and have to select text one screen at a time) !!
Is there any way to have the best of both – while selecting text with mouse , if i reach the end of page , it automatically scrolls up/down depending on whether i’ve reached top/bottom of page and allows me to select text from the next page as well ?
I know vim is powerful/flexible enough to do what I want – I just don’t know how !! Can anyone help ?
When you have
set mouse=a, You can select by<Shift> + LeftMouseto do a selection,<Shift> + RightMouseto paste your code as usual.Hope this helps !!