Monday, November 30, 2009

Re: Specify a register for a custom command

On Mon, November 30, 2009 9:56 am, Andy Wokula wrote:
> Christian Brabandt schrieb:
>> You need to expand <reg>, e.g. com! -register Foo :echo expand("<reg>")
>
> You were just guessing?

No, I thought this would work. And a simple test case seemed to work.

Oh well, sorry.

regards,
Christian

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

No comments: