Wednesday, January 2, 2013

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

On 2013-01-03, lei yang wrote:
> 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)

As Marc and Tim have written, to copy and paste easily between Vim
running in a terminal and the X clipboard, you will need a version
of Vim with clipboard, X11 and xterm_clipboard enabled.
Unfortunately, the vim packages provided by some of the more popular
Linux distributions do not have these features enabled. If your vim
does not have those features, and you have gvim installed, you can
get vim in a terminal with X features enabled by running

gvim -v

HTH,
Gary

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