My .vimrc has the following lines
.vimrc
set mouse=a map map
But wh
If you use iTerm, you can simply execute the following command:
defaults write com.googlecode.iterm2 AlternateMouseScroll -bool true
This will enable mouse scrolling without having to add anything in your .vimrc.