Wednesday, May 12, 2010

Re: Stair stepping

Harry wrote:

> I often lose little bits of pasted code trying to paste into
> vim with middle mouse when vim is NOT in insert mode.

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.)

(I only mention this to make sure you understand what's happening, my
apologies if you knew this already.)

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.

Regards, John

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