Search code examples
bashvimwindows-10viwindows-subsystem-for-linux

Enable vi mouse wheel scrolling using bash on ubuntu on windows 10


I'm using bash on ubuntu on windows 10 and would like to enable scrolling using the mouse wheel in vi or vim. I've tried entering the following command in vim and added it to the .vimrc file and /usr/share/vim/vim74/debian.vim

set mouse=a

However I still can't scroll with the mouse.


Solution

  • Quick and simple answer:

    If you use mintty/wsltty it works just fine!