Jay Taylor's notes
back to listing indexEnable mouse for scrolling only in Vim in iTerm (MacOSX)
[web search]
I'd like to use the mouse in Vim only for scrolling (not to enable other Vim modes or otherwise interact with Vim). Using Long Explanation: I use Vim in iTerm a lot and don't use the mouse. However, inertia scrolling with a trackpad is really nice and a great way to peruse large files. I can I have thought about setting up Vim so that copying in vim will copy in Mac OS X (using pbcopy, I need to do this anyway). This will do the trick when editing local files, but most of the time I'm |
||||
You could use
It works only with mouse scroll as I've tested. |
|||||||||||||||||||||
|
If you |
|||||||||
|
I'm not sure about iTerm but this is achievable with Terminal.app.
http://ayaz.wordpress.com/2010/10/19/using-mouse-inside-vim-on-terminal-app/ (install SIMBL and MouseTerm)
Done. |
||||
Even better than the accepted answer:
This allows scrolling and then highlighting gives you a visual block. |
|||||||||||||||
|
Your Answer
asked |
5 years ago |
viewed |
10712 times |
active |
Related
Technology | Life / Arts | Culture / Recreation | Science | Other | ||
---|---|---|---|---|---|---|