Scroll up/down while selecting multi-page block of text in Vim through putty
Posted
by shan23
on Stack Overflow
See other posts from Stack Overflow
or by shan23
Published on 2009-12-08T09:05:23Z
Indexed on
2010/05/21
12:10 UTC
Read the original article
Hit count: 335
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 ?
© Stack Overflow or respective owner