On Sun, November 22, 2009 11:31 pm, Shabunc wrote:
> we can't choose file and press enter, neither we can call :cc command.
> Yes, it is de facto quickfix list, but, I should say, probably, rather
> useless kind of quickfix list.
> Or am i wrong?
Oh yes. Your errorformat needs to be "fixed". See :h errorformat for an
explanation. I think it should work, if you do:
:set efm=%f
and afterwards do :cexpr glob("**/*.txt")
Alternatively you could probably work with your default errorformat and
do something like this:
:cexpr substitute(glob("**/*.txt"), '\n', ':1: &', 'g')
regards,
Christian
--
:wq
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---