Use mouse scroll wheel in Vim

后端 未结 6 764
萌比男神i
萌比男神i 2021-01-30 16:33

My .vimrc has the following lines

set mouse=a
map  
map  

But wh

6条回答
  •  野性不改
    2021-01-30 17:14

    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.

提交回复
热议问题