Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
Enable wheel in mintty for cygwin comands: less and man

How to enable the mouse wheel inside vim? I'm using mintty and cygwin.

share|improve this question

marked as duplicate by Nifle, studiohack Feb 16 '12 at 1:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 1 down vote accepted

Put ":set mouse=a" in your ~/.vimrc.

share|improve this answer
    
Great tip. FYI - I didn't need to do this on if I put in ~/.vimrc. Just putting set term=mintty did the job on Cygwin. But your tip got it to work on my Mac. –  Sridhar-Sarnobat Feb 24 at 19:35
    
Sadly, if I now highlight text and press Cmd-C, it erases the text. –  Sridhar-Sarnobat Feb 24 at 19:43
    
There is a workaround but in my case I prefer copying over scrolling to be left alone. stackoverflow.com/questions/4608161/… –  Sridhar-Sarnobat Feb 24 at 20:04

Not the answer you're looking for? Browse other questions tagged or ask your own question.