On 31/10/11 23:05, Taylor Hedberg wrote:
Patch 7.3.343 introduced improved mouse support for Vim when running in
the urxvt terminal. It requires that the 'ttymouse' option be set to
"urxvt" in order to enable the new mouse support. Since the patch,
strange behavior sometimes occurs (such as ignored mouse events) if
ttymouse is left at its old default value, "xterm2", when running within
urxvt. Setting the option to "urxvt" makes these problems disappear.

However, "urxvt" is not documented as a valid string value for the
'ttymouse' option, so the only way a user could find out about how to
enable this feature is to read the commit message for patch 343. The
attached patch adds a trivial mention of the new valid setting to the
'ttymouse' documentation in options.txt, which should improve the
discoverability of this feature.

Perhaps it would be even better if 'ttymouse' were automatically set to
"urxvt" when 'term' is "rxvt-unicode" or "rxvt-unicode-256color"?


There should also be a |+mouse_urxvt| entry under |+feature-list| (referenced from this option help the way |+mouse_xterm| etc. are), a "mouse_urxvt" entry under |feature-list|, and maybe (if deemed useful) some help text about what is special about this feature. Similarly |+mouse_jsbterm|.


Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
208. Your goals for the future are obtaining an ISDN connection and
     a 6 gig hard drive.

--
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui