> 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.
Hope it helps...
Brett Stahlman
>
> In :help pager, I see:
>
> : stop the listing and enter a
> command-line
>
> But, I can't tell if there's then some way to "copy all this message's
> text"
>
> and, there's:
>
> <C-Y> yank (copy) a modeless selection to
> the clipboard ("* and "+ registers)
>
> But, that requires the mouse (cf. :help modeless-selection), so doesn't
> seem suited to capture the message in its entirety.
>
> I also tried doing this via:
>
> $ vim +"set term=dumb" +au +q | less
>
> but the output's a mess.
>
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment