Commits

R Primus  committed 21f0418
  • Participants
  • Parent commits f7c8553

Comments (0)

Files changed (1)

 endfunction
 nmap owp :call Browser ()<CR>
 " end Browser }}}
+"
+command! -nargs=0 -bar Qargs execute 'args' QuickfixFilenames()
+
+function! QuickfixFilenames() " {{{
+" populate the argument list with each of the files named in the quickfix list
+  let buffer_numbers = {}
+  for quickfix_item in getqflist()
+    let buffer_numbers[quickfix_item['bufnr']] = bufname(quickfix_item['bufnr'])
+  endfor
+  return join(map(values(buffer_numbers), 'fnameescape(v:val)'))
+endfunction
+" End QuickFixFilenames }}}
 " End  Functions }}}
 " plugins {{{
 "  plugin:: snippmate settings  "{{{