On 09/10/08 11:03, A. S. Budden wrote: > Dear all, > > Is there any way to save an error list that has been generated with a > lot of calls to :vimgrepadd? I've built up a list of lines of source > that I will need to reference later and would prefer to not have to go > through the rigmarole again. > > In the quickfix.txt help, it includes the comment (somewhat out of context): > > "you could write the contents of the quickfix window to a file and use > ":cfile" to have it parsed and used as the new error list." > > In order to do this, I tried using ":w myquickfixfile.vim", starting a > new gVim and running ":cfile myquickfixfile.vim", ":copen". The > quickfix lists opens and all the lines appear, but they're not > recognised as error lines (no syntax colouring) and if you press enter > on one of the lines, the source doesn't jump to that line (although > the line is then highlighted in yellow). > > Can anyone suggest what I might be doing wrong? > > Many thanks, > > Al
I suspect ":vimgrep" doesn't use your 'errorformat' setting, which is used by ":cfile". Best regards, Tony. -- There is a green, multi-legged creature crawling on your shoulder. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
