Re: Capture output of command line completion in script

2012-12-29 Thread 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, If I type CTRL-D on the command line it

Re: Capture output of command line completion in script

2012-12-26 Thread 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 show a list of possible

Re: Capture output of command line completion in script

2012-12-26 Thread 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:

Re: Capture output of command line completion in script

2012-12-26 Thread 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:

Re: Capture output of command line completion in script

2012-12-26 Thread 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 have

Re: Capture output of command line completion in script

2012-12-25 Thread Luca Pette
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 fooCTRL-D). Is it possible to capture this result list in a vim script? I was searching for this too. Any new suggestion? It

Re: Capture output of command line completion in script

2012-12-25 Thread 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 fooCTRL-D). Is it possible to capture this result list in a vim script? I

Re: Capture output of command line completion in script

2012-12-25 Thread 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 fooCTRL-D). Is it possible to

Capture output of command line completion in script

2011-03-25 Thread Rickard Lindberg
Hi, If I type CTRL-D on the command line it will show a list of possible matches (:e fooCTRL-D). Is it possible to capture this result list in a vim script? -- 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