Re: Capture output of command line completion in script

2012-12-29 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > On Mi, 26 Dez 2012, Bram Moolenaar wrote: > > > > > 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, > > > > > > > > > > > > > > > > > > > >

Re: Capture output of command line completion in script

2012-12-26 Fir de Conversatie ZyX
> This just looks like another ugly workaround, not better then using > :redir I never said it is not a workaround. But it is still better then using :redir for the reasons explained in the last paragraph. I am arguing here that adding :redir support is not needed at all. Bram suggested to hav

Re: Capture output of command line completion in script

2012-12-26 Fir de Conversatie Christian Brabandt
Hi ZyX! On Mi, 26 Dez 2012, ZyX wrote: > > Right. But shouldn't :redir also be useable to capture all available > > completions? We can still think about adding another completion > > vimscript function for returning all matches. > > There is already a workaround: > https://github.com/paradigm

Re: Capture output of command line completion in script

2012-12-26 Fir de Conversatie ZyX
> Right. But shouldn't :redir also be useable to capture all available > completions? We can still think about adding another completion > vimscript function for returning all matches. There is already a workaround: https://github.com/paradigm/SkyBison/blob/eda32bb644fd0651679121dca11e41088dafc9

Re: Capture output of command line completion in script

2012-12-26 Fir de Conversatie Christian Brabandt
Hi Bram! On Mi, 26 Dez 2012, Bram Moolenaar wrote: > > 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

Re: Capture output of command line completion in script

2012-12-25 Fir de Conversatie Bram Moolenaar
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). > > > > > > > > >

Re: Capture output of command line completion in script

2012-12-25 Fir de Conversatie Christian Brabandt
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). > > > > > > > > Is it possible to capture this result list in a