> Benjamin R. Haskell wrote:
> > I see that both the :syntax list and :au commands can be filtered by
> > various aspects. But, when first trying to narrow something down
> > (and learning how these things work), the first thing to do is to
> > run them unfiltered. But, then I want to be able to search within
> > that output.
> >
> > Is there some way to do that already? Or is there a way to use an
> > external pager ('less')?
>
> :help :redir
>
> You can redirect to a file, a register, a variable, etc... For
> example, executing...
>
> :redir >/tmp/au.out
> :au
> :redir END
>
> ...would let you collect the :au output in a file for viewing and
> searching.
Super cool, thanks.
I wish it'd let me redirect after the fact, but still much better than
before.
Also, for other readers, the 'verbosefile' option is interesting.
And, it looks like a modified version of "Redirect g search output"[1]
will do what I was about to ask about.
[1] http://vim.wikia.com/wiki/Redirect_g_search_output
--
Best,
Ben
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment