Hi Yegappan!

On Mi, 13 Okt 2010, Yegappan Lakshmanan wrote:

> Hi,
> 
> 2010/10/13 François Ingelrest <[email protected]>:
> >> It is very difficult to do ANYTHING platform-independent if you're
> >> working in a terminal.
> >
> > I'm also having issues with copy-pasting since I installed the latest
> > Ubuntu a few days ago. I've been compiling my own Vim without GUI for
> > a few years, and I was previously able to copy-paste using the mouse
> > without any problem. Now for some reasons I must use the <shift> key
> > to get it working... I can't tell what has changed exactly that's
> > altering the copy-paste feature.
> >
> 
> You should first check the output of the ":version" command and make
> sure that +xterm-clipboard is present.
> 
> When running Vim in an xterm, you can either let Vim control the mouse
> or let xterm control the mouse. This is configured by the 'mouse' option.
> 
> If the 'mouse' option is not set (or set to the default value), then Vim will
> not control the mouse. You cannot move the Vim text cursor using the
> mouse. When you select some text using the mouse, xterm will copy
> it to the X11 cut buffer. When you press both the mouse buttons,
> xterm will paste the text from the cut buffer.
> 
> If the 'mouse' option is set to 'a' or some other value, then Vim controls
> the mouse. The mode (normal or insert or visual, etc) in which Vim
> controls the mouse is configured by the 'mouse' option. You can move
> the Vim text cursor using the mouse. When you select some text,
> the 'clipboard' option setting is used to determine whether to transfer
> the selected text to the clipboard or not. The default setting is to
> transfer the selected text to the clipboard. If you want to use the
> xterm selection mechanism in this mode, then you can press the
> <Shift> key. If you press <Shift> key when selecting text using the
> mouse, then Vim doesn't control the mouse and xterm controls the
> mouse.

Thanks for the info. I put it in the faq, if you don't mind.

regards,
Christian

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

Reply via email to