You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just as a reference, there's this screencast on Vimcasts.org that suggests a simple snippet to populate the arglist with everything inside the quickfix list.
command! -nargs=0-bar Qargs execute'args'QuickfixFilenames()
function!QuickfixFilenames()
" Building a hash ensures we get each buffer only oncelet buffer_numbers = {}
for quickfix_item ingetqflist()
let buffer_numbers[quickfix_item['bufnr']] =bufname(quickfix_item['bufnr'])
endforreturnjoin(map(values(buffer_numbers), 'fnameescape(v:val)'))
endfunction
Is there a way to add all the search matches to the buffers list? That would be really handy for "search and replace" kinda thing.
Thanks.
The text was updated successfully, but these errors were encountered: