I have Windows 11 with WSL and Ubuntu 22.04.3 LTS. When I open any program in the Vi/Vim editor, I can't scroll up or down using the mouse. Any solution for it?
I tried to add set mouse=a
in .vimrc
. The scroll then worked, but it gave another problem. With that in place, I can't select texts by the normal way of clicking on mouse and paste it somewhere else in the terminal.
vi
was written back in the days when very few terminals actually had arrow keys... ) – guiverc Mar 28 '24 at 10:12set mouse=a
not work after all? Regardless, you should edit the question to include that as something you've tried. Thanks! – NotTheDr01ds Mar 29 '24 at 12:50