Oops, I now realized that the OUTPUT of the quickfix window is hard-coded.
I got everything reformatted, and saw that my quickfix windows still had the same /really/really/long/dir/filename.txt format I should have read the paragraph below! >Actually I went through the function "qf_fill_buffer" in quickfix.c file and >I found that quickfix output is hard coded and it is not controlled by any >options. Your reply confirms it. Oh well. Maybe a feature request? Thanks, --Nate On Fri, Apr 24, 2009 at 5:56 PM, Nathan Neff <[email protected]> wrote: > I was looking for a solution to this exact problem, except I'm using > grep.vim, which is detailed here: > http://www.vim.org/scripts/script.php?script_id=311 > > I don't want to see: > > /some/really/really/really/really/really/really/really/reallyreally/long/directoryname/filename.groovy: > <Text> > > I want to see > > filename.groovy <Text> > > The method "s:RunGrepCmd(cmd, pattern, action)" in the grep.vim script > above could be modified > to use awk to rearrange the results of the find/grep that it runs. > Then, the errorformat could be adjusted > to fit the more readable results. > > I'll post back here w/my results. :-) I'll e-mail the author of the > grep.vim script as well. > > --Nate > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
