Tuesday, February 21, 2012

Re: Saving the last command result in the "* register

On 21/02/12 11:29, setog3 wrote:
> Hi,
> I am wondering if there is an easy way to save the last result (for
> example, result provided by :pwd )
> in the register "* or "+
>
> so I can then use it in an external application (without using the
> mouse)
>

see :help :redir


Best regards,
Tony.
--
If I don't drive around the park,
I'm pretty sure to make my mark.
If I'm in bed each night by ten,
I may get back my looks again.
If I abstain from fun and such,
I'll probably amount to much;
But I shall stay the way I am,
Because I do not give a damn.
-- Dorothy Parker

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