Adding following to your
.vimrc does it.
This enables mouse in all modes, hence
all. See vim manpages and http://vim.wikia.com/wiki/Using_the_mouse_for_Vim_in_an_xterm.
Become a member of our community to ask questions, answer people's questions, and connect with others.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.