On 28/12/08 16:12, Anton Sharonov wrote:
> Tony Mechelynck wrote:
>> If you have a large amount of text that you want to
>> post-process you may want to store it in a buffer;
>
> You mean, insert from ruby variable into hidden "scratch" buffer
> and then takeover the content of this buffer into VIML variable ?
> This sounds interesting. Thanks, I will keep this possibility in
> mind.
I thought creating or modifying a Vim buffer from ruby, then using
further Vim commands such as :s to modify it further; but you found
still another possibility.
>
>> for a variable, I believe VIM::command("let foobar = 'value'")
>> is the right way to do it.
>
> Thanks for confirming that. I think I will stick with this
> solution.
>
> --
Note: A "proper" signature separator consists of two dashes and one space.
> Anton
Best regards,
Tony.
--
Flugg's Law:
When you need to knock on wood is when you realize that the
world is composed of vinyl, naugahyde and aluminum.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---