-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Telescope #9
Comments
Every fuzzy find can import the data of the current quickfix and become a filter for quickfix. But for now, only the UI of fzf perfectly compatible with quickfix. If you want to filter data for quickfix, I think you can do it in telescope.nvim. |
I am not sure if you are still using bqf, but preview with fzf has been supported for Windows since 50dae9a. |
nvim community is all moving to telescope so |
so PR is welcome |
Telescope already supports quickfix filtering, so not sure if anything is actually needs to be done here. The workflow is this:
Voila, now the quickfix is filtered. |
The issue is it uses fuzzy finding which is not always desirable. |
Then maybe I did not understand what this issue is about. It says:
Isn't FZF a fuzzy finder by definition? :) |
Oh, sorry, I thought that it's a different issue :) The workflow is good, but bqf provides more. |
Currently no nvim-bqf change (more: no nvim-bqf) is needed to filter quickfix list using Telescope. Try local function configureWindow()
--- other settings
vim.keymap.set({'n'}, 'zf', require('telescope.builtin').quickfix, {buffer = true})
end
local augroup = vim.api.nvim_create_augroup ('BqfMappings', {clear = true })
vim.api.nvim_create_autocmd ('FileType', {
group = augroup,
pattern = 'qf',
callback = configureWindow,
}) Conversely, on the Telescope side we can create the new quickfix list ( @kevinhwang91 it would be good to add such hint to README. |
It's not necessary to add this hint because this issue is open. |
Is your feature request related to a problem?
You mentioned that
Preview with fzf needs a pipe command, Windows can't be supported.
. But there is an awesome telescope.nvim that works fast and allows to avoid using external program. It would be nice to support it :)Describe the solution you'd like
It would be nice to have an option to use Telescope instead of FZF.
The text was updated successfully, but these errors were encountered: