Friday, January 29, 2010

Re: Single-column 'set'?

On Fri, 29 Jan 2010, Bee wrote:

> On Jan 29, 7:43 am, "Benjamin R. Haskell" <v...@benizi.com> wrote:
> > ...
> > :redir @a
> > ...
>
> How to save directly to a filename?
>
> [...]
>
> But this creates a file named savevimrc in $HOME
>
> redir > savevimrc
>
> How to expand savevimrc to the file name?

:exe "redir > " . savevimrc

--
Best,
Ben

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

No comments: