-
I want to send fzf-lua results to qflist. This works for regular grep pickers ( However, if I do Here's related keymap configs I used if it's helpful: fzf_lua.setup({
global_resume = true,
keymap = {
builtin = {
["ctrl-u"] = "half-page-up",
["ctrl-d"] = "half-page-down",
["<C-f>"] = "preview-page-down",
["<C-b>"] = "preview-page-up",
["<C-a>"] = "toggle-all",
},
fzf = {
["ctrl-u"] = "half-page-up",
["ctrl-d"] = "half-page-down",
["ctrl-f"] = "preview-page-down",
["ctrl-b"] = "preview-page-up",
["ctrl-a"] = "toggle-all",
},
},
actions = {
files = {
["ctrl-q"] = actions.file_sel_to_qf,
},
}, and grep = {
-- cmd = 'ugrep -RIjnkzs --hidden --ignore-files --exclude-dir=".git"',
rg_opts = "--column --trim --line-number --no-heading --color=always --smart-case --max-columns=4096 -e",
path_shorten = 4,
winopts = bottom_row,
-- winopts = {
-- fullscreen = true,
-- },
formatter = "path.filename_first",
actions = {
["ctrl-q"] = actions.file_sel_to_qf,
},
}, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The default in fzf-lua/lua/fzf-lua/defaults.lua Line 531 in cb208cd You can enable multiple selection by adding fzf_lua.setup({
blines = {
fzf_opts = {
['--no-multi']=false,
['--multi']=true,
}
}
}) Since fzf-lua/lua/fzf-lua/providers/grep.lua Line 404 in cb208cd |
Beta Was this translation helpful? Give feedback.
The default in
blines
is--no-multi
:fzf-lua/lua/fzf-lua/defaults.lua
Line 531 in cb208cd
You can enable multiple selection by adding
fzf_opts = { ['--no-multi']=false, ['--multi']=true }
to theblines
setup section:Since
lgrep_curbuf
andgrep_curbuf
both use the same options asblines
(since they are all lines in the current buffer) this will save both your issues:fzf-lua/lua/fzf-lua/providers/grep.lua
Line 404 in cb208cd