Saturday, May 15, 2010

Re: Stair stepping

John Little <john.b.little@gmail.com> writes:

> This is caused by the same thing as causes your "stair stepping": the
> middle mouse click is being seen and acted on by the terminal
> emulator, instead of passing it to vim. If vim gets the click it can
> act appropriately whatever mode it's in. (Vim gets an escape sequence
> beginning with " <esc> [ M ! ". Setting mouse=a causes Vim to tell
> the terminal emulator to send it info about mouse clicks.)

Turns out mouse was not set mouse=a... switching to mouse=a has solved
my problem... someone asked me earlier about that and I responded that
it was set mouse=a... Not sure how I arrived at that now... but a few
tests just now after : set mouse=a.
>
> (I only mention this to make sure you understand what's happening, my
> apologies if you knew this already.)

As you see from above... you were dead right to guess I didn't know
poop about it.

> Hmm, I wonder what your $TERM is? And what vim has set in its term
> option? Conceivably, if these are not "xterm" you'd be at the mercy
> of whatever termcap or terminfo your system has.

For the record.. I did report using standard xterm... not some
knockoff baloney like konsole or the like.

echo $TERM
xterm

I'm not sure how to determine what `term option'[s] might be set
to... I did post `:version information... but I don't see anything
about a term setting there.

Thanks for drumming it into me about mouse=a... I was really startled
pasting something into vim (while in normal mode and having it just work.

--
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: