-
|
Hello, I want to use FzfLua quickfix picker but I'm having an issue with it. The issue being : the default action (with enter) don't open the file in a new buffer but in a sort of floating window (as it doesn't appear when I do I have the issue with the bare minimum configuration : return {
"ibhagwan/fzf-lua",
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function()
local FzfLua = require("fzf-lua")
FzfLua.setup({})
end,
}I'm sorry if I don't use the right words or post this at the right place but that's how I understand/describe the issue. Could someone confirm if it's the expected behaviour ? And if yes, what is it (as it's not a buffer) ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
The quick fix picker works as any other file entries picker (files/buffers/grep/etc), upon pressing enter the location (file:line:col) should open in the originating buffer (the buffer you started FzfLua from). I’m not sure I’m clear on what’s happening in your case, maybe a video recording will help clarify? |
Beta Was this translation helpful? Give feedback.
Sure, take a look at how the quick fix list code works and create an action that calls
vim.fn.bufaddinstead:fzf-lua/lua/fzf-lua/actions.lua
Line 299 in abad16f