> vim emulates a middle mouse button press by clicking left and
> right mouse button simultaneously. Works fine.
>
> But often I'm too slow to click both buttons at the very same
> time. I'm too slow for the default emulation tolerance.
You omit whether you're running (console)vim or gvim and on which
OS. On *nix-type environments in gvim or a GUI-terminal, usually
X handles the emulation of the middle-mouse button via the
simultaneous press of left+right buttons:
http://ftp.x.org/pub/X11R7.0/doc/html/mouse.4.html
Particularly the Emulate3Buttons and Emulate3Timeout options,
which you can set in your (usually) /etc/X11/xorg.conf
I don't know how Vim gets a 3rd-mouse button press on Win32 or on
a non-X terminal/console, and whether it's something that the OS
handles (in the case of Win32) or the mouse layer--whether gpm
(usually on Linux) or wsconsole (I believe that's what's used on
OpenBSD, perhaps other BSDs).
-tim
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment