28th October 2008

Vim, GNU Screen and mouse

Tags : ,

posted in Unix tools |

Are you using your mouse with Vim ? You know, the little set mouse=a in your ~/.vimrc ? This just work with some terminal emulators (Xterm, RXVT, etc) but not with GNU Screen. The mouse just select text in the term :(

You can easily correct this. Just say to Vim how to handle the mouse for this terminal. Use a set ttymouse=xterm2 and it's done. Tadaaaa, you have a GNU Screen session on /dev/ttyUSB0, another for your code in Vim and another one for make... Happiness...

This entry was posted on Tuesday, October 28th, 2008 at 1:11 pm and is filed under Unix tools. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image