Send results to quickfix list from any fuzzyy command
Closed this issue · 3 comments
blayz3r commented
Fzf does something like this:
" CTRL-A CTRL-Q to select all and build quickfix list
function! s:build_quickfix_list(lines)
call setqflist(map(copy(a:lines), '{ "filename": v:val }'))
copen
cc
endfunction
let g:fzf_action = {
\ 'ctrl-q': function('s:build_quickfix_list'),
\ 'ctrl-t': 'tab split',
\ 'ctrl-x': 'split',
\ 'ctrl-v': 'vsplit' }
let $FZF_DEFAULT_OPTS = '--bind ctrl-a:select-all'mmrwoods commented
PR #74 adds CTRL-Q mapping to send to quickfix list from appropriate selectors/commands (anything which lists files and line numbers)
mmrwoods commented
PR #74 is merged, I think that addresses this issue sufficiently (certainly does the job for me ;-)
blayz3r commented
Thanks!