Hi all :)

I use console Vim, and I would like to use the mouse to position the
cursor into the Vim window, but *only for that*. I want the terminal
emulator control the right click even when using Vim. I'm using Vim
under Linux, with "set ttymouse=xterm2", BTW.

I thought that doing "set mouse=a", "set mousemodel=popup" and NOT
LOADING any menu (so the right click popup won't pop up any menu) the
terminal would catch the right click. But no, Vim uses an
"all-or-nothing" approach, just like any other console application I
know of. Probably is a limitation of the terminal emulator (I've never
written a program supporting mouse on terminal under Linux, so..).

Well, adding up, what I want is to position the cursor using left click
but leave right click to the terminal emulator (so it shows the terminal
emulator popup menu); what I have is that Vim catches the right click
too.

Can this be changed?

Thanks a lot in advance :)

Raúl "DervishD" Núñez de Arenas Coronado
-- 
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!
We are waiting for 13 Feb 2009 23:31:30 +0000 ...

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to