Tuesday, December 25, 2012

Re: Capture output of command line completion in script

Christian Brabandt wrote:

> On Di, 25 Dez 2012, Luca Pette wrote:
>
> > On Saturday, 26 March 2011 00:10:52 UTC+1, Rickard Lindberg wrote:
> > > Hi,
> > >
> > >
> > >
> > > If I type CTRL-D on the command line it will show a list of possible
> > >
> > > matches (:e foo<CTRL-D>).
> > >
> > >
> > >
> > > Is it possible to capture this result list in a vim script?
> >
> > I was searching for this too. Any new suggestion? It would be
> > awesome if it would be possible to capture the output of command
> > line completion with vimscript/
>
> Bram,
> here is a patch, that enables redirecting when using <ctrl-d> for
> commandline completion:

Hmm, I wonder why this request was made. Wouldn't it be more useful to
add a Vim script function to access the completions?

--
Some of the well known MS-Windows errors:
EHUH Unexpected error
EUSER User error, not our fault!
EGOD Horrible problem, god knows what has happened
EERR Errornous error: nothing wrong

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

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