Tuesday, January 26, 2010

Re: Store the content of document to variable

Hi,

anna wrote:
> Is there a way to get the content of document without having to load
> it to buffer?
> That will be similar to :read command, but it stores the content of
> document to variable, instead paste it to the current buffer.

:help readfile()

Regards,
Jürgen

--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)

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

No comments:

Post a Comment