grab the contents with let variable = getreg('a'). It would then be easy
if :echo variable > file worked like unix echo, but it doesnt. Any simple way
to get contents of some register a into a file of my choosing? There is a
writelist() function, but I do not know how to get the context of a register
into a list.
--
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:
Post a Comment