Wednesday, January 2, 2013

Re: question: vim copy to another place, eg:doc

Excerpts from lei yang's message of Thu Jan 03 03:15:33 +0100 2013:
> Hi experts,
>
> I know in one text,we can use "yy" to copy something to another place
> in text, if I can't to copy something to another place, eg: from a
> text,and copy something using vim, and paste( we don't need to use
> vim) something to another place, how could I do? the real question is
> how chould I put something to the vim chipboard. and it can paste to
> another place( doc, terminal)
set clipboard=unnamed

or use "+yy for yanking

See :h 'clipboard' etc.

Eventually vim must be compiled with X, if you don't have it there is
a plugin using xclip instead.

Marc Weber

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