vim:fzf: Use location list instead of the quickfix

Since the quickfix is a global list I can't keep multiple ripgrep
searches open at once. The location list is window-local thus solving
this issue.
This commit is contained in:
2025-09-17 21:44:46 +02:00
parent a3d2bf985c
commit f2ce78b6b3

View File

@@ -38,6 +38,12 @@ if (exists("g:loaded_tmux_navigator"))
let g:tmux_navigator_disable_when_zoomed = 1
endif
if (get(g:, 'loaded_fzf_vim'))
let g:fzf_vim = {}
" Use location list instead of quickfix list
let g:fzf_vim.listproc = { list -> fzf#vim#listproc#location(list) }
endif
if (get(g:, 'loaded_vimwiki'))
" Use vertical box drawing character as table separator
call vimwiki#vars#set_syntaxlocal('rxTableSep', '│')