Osamu Aoki wrote:
> > It'll work in pure vi, better even than with vim.
> Better in vi???? Are you serious.  VIM is always better :-)

Naturally.  Though in this case, I have to say I prefer VIM's vi-emulation
mode of ignoring the mouse.

> Add following to ~/.vimrc
> 
> " -------------------------------
> " Local configuration
> "
> set nocompatible
> set nopaste
> set pastetoggle=<f11>
> "--------------------------------
> 
> And press <F11> before pasting it.  That's all.

Yes, that paste-toggle thing is very convenient, especially when copying
formatted text (such as code) from one terminal to another - thanks for
pointing it out.

But that wasn't the problem.  I can't get VIM's clipboard to interact with
gpm's, so I can't copy-and-paste to/from other programs running on the VT.
ISTR that getting these to interoperate involves the clipboard variable,
although the packaged VIM doesn't support this.

> > At least, that's how it behaves in my experience.  Has anyone found a
> > way to make it ignore shifted mouse events but still process normal
> > clicks?
> 
> I just had to be in insert mode... I will check it from Linux console...
> Maybe nopaste does the trick...

Doesn't seem to help.

Glyn

-- 
Drag queens have the navy tossing in their beds
Mary ate her little lamb and punk rock isn't dead


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to