Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No mouse in Vim inside nested screen sessions

Tags:

vim

gnu-screen

For many reasons, I often work with nested GNU Screen sessions. But Vim, running in a nested screen instance, doesn't seem to catch any mouse info. I've tried :set mouse=a and :set ttymouse=xterm2, the tricks that normally get Vim recognizing the mouse, to no avail. Any pointers? Or...cursors? Help please!

like image 205
Jay Straw Avatar asked Dec 13 '25 01:12

Jay Straw


1 Answers

Mouse is not supported in screen. You can try tmux with those conf:

set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on
like image 162
kev Avatar answered Dec 15 '25 11:12

kev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!