> I don't know whether or not you can use folding within the quickfix > window to fold all the matches to one fold per file. It seems that > it should work. That would be really nice. I'll have to try that.
I would think a .vim/vimfiles/after/ftplugin/qf.vim would allow you to setup the following: setlocal foldlevel=0 setlocal foldmethod=expr " Comparing the filename of the current line and the next line: setlocal foldexpr=matchstr(getline(v:lnum), '^[^|]\+')=~matchstr(getline(v:lnum+1), '^[^|]\+')'?'<1':1 Should work, but I cannot get the escaping right on the foldexpr line. Can anyone take it a step further? Dave --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
