134655Re: Mouse handling in urxvt
- Nov 22 9:22 AMOn Tue, 20 Nov 2012 21:22:10 -0800 (PST)
John Little <John.B.Little@...> wrote:
> On Wednesday, November 21, 2012 1:59:57 AM UTC+13, Johannes DeutschHi John,
> > Hi all,
> > i want to have mouse support for vim if it runs in urxvt v9.15.
> > To achieve this i downloaded the latest version of vim which
> > includes the latest patches along with mouse support for urxvt and
> > compiled it. After that
> > vim --version | grep urxvt
> > yields
> > +mouse_urxvt +mouse_xterm +multi_byte +multi_lang -mzscheme
> > +netbeans_intg
> Just installed urxvt 9.15 from some Ubuntu repository, and my
> vim --version | grep urxvt
> +mouse_sgr -mouse_sysmouse +mouse_urxvt +mouse_xterm +multi_byte
> (Hmm, what options did you use compiling vim? Did you get a "Huge
> version with GTK2-GNOME GUI" as shown by :ver in vim?)
> > So i tested the mouse in vim (and set ttym=urxvt, mousemodel=extend
> > and mouse=a inside vim) and observed strange actions in response of
> > mouse events compared with ':h mouse-overview'. For instance :
> > insert mode: single left click => cursor moves to position of the
> > mouse pointer
> > single right click => leave insert mode:
> vim -u NONE -N -c 'set ttym=urxvt mousemodel=extend mouse=a'
> I got single right click -> start visual mode from vim's cursor to
> point of click, in both normal and insert modes, and in visual mode
> the selection changes. I imagine this is what you want.
> Regards, John
thanks a lot for your reply and the time you've invested.
After i invoked
vim -u NONE -N -c 'set ttym=urxvt mousemodel=extend mouse=a'
vim's response to mouse events were just like expected. After this
surprise i tried to narrow down the error with
vim --noplugin -c 'set ttym=urxvt mousemodel=extend mouse=a'
Started vim with this setting the mouse behavior is broken again.
So it seems for me that there is a setting in one of these filenames
returned by ':scriptnames':
which breaks the correct behavior of the mouse.
Unfortunately i don't know how to debug the startup of vim and which
setting could interfere with the mouse settings.
Maybe someone has an idea!?
Thanks for your time and with best regards
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
- << Previous post in topic Next post in topic >>