Saturday, November 12, 2011

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

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.

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