Sunday, May 6, 2012

Re: Getting the value of runtimepath from the command line

On Sunday, May 6, 2012 2:57:47 AM UTC-6, John Little wrote:
> vim -c "redir! > $RTP" -c 'echo &rtp' -c 'redir END' -c 'q'

That did it, though I was hoping to avoid temp files.

> given $RTP set to an appropriate target. Starts the output with a blank line, I don't know why.

I think that has to do with not actually editing a file.

Thanks for the 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:

Post a Comment