Saturday, November 12, 2011

Re: python scripting: how to set the contents of a register.

On 11/12/2011 08:15 AM, Gelonida N wrote:
> Hi,
>
> I know how to ge the contents of a register.
>
> reg = vim.eval('@0') fetches for example the contents of register 0
>
>
>
> However I did not find a way to set a register to a certain value (from
> python)
>
> What would be the command?
>
>
> Thanks in advance for your help.
>

command('let @a = "abc"') -ak

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