Tuesday, January 26, 2010

Re: search for absent strings

Hi drlatex!

On Di, 26 Jan 2010, drlatex wrote:

> when I do
> :echo lst
>
> I get an array of numbers, but I can't copy and paste them into a file for
> some reason. When I highlight them it doesn't actually copy properly, and I
> can't copy them using CTRL+V.

You can copy the list into the systems clipboard (assuming your vim was
compiled with +clipboard) using :let @+=join(lst) or you can put it into
a buffer using :put =join(lst) or :call append('$', lst)

regards,
Christian
--
Zu jedem komplexen Problem, gibt es eine verblüffend triviale Lösung,
die sich einfach erklären läßt und vollkommen falsch ist.

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment