-
Notifications
You must be signed in to change notification settings - Fork 154
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
Send all current search results to QuickFix list #324
Comments
There is no such bind defined by fzf-lua, this is probably coming from your shell setup defined by
Since the defult action already sends multiple selection to quickfix this can be easily achieved by creating a new fzf bind (or modifying the existing one) to perform both select-all and accept: require'fzf-lua'.setup {
keymap = {
fzf = {
-- your other fzf binds
...
-- modify the current 'toggle-all' bind:
["alt-a"] = "select-all+accept",
}
}
} |
@ibhagwan Thank you! This solves it for me! |
This is my setting: fzf_lua.setup({
-- fzf_bin = "/Users/strdr4605/.local/share/nvim/site/pack/packer/start/fzf/bin/fzf",
fzf_opts = {
["--layout"] = "default",
-- ["--ansi"] = false,
},
keymap = {
fzf = {
["ctrl-q"] = "select-all+accept",
}
},
grep = {
-- rg_opts = "--column --line-number --no-heading --color=never --smart-case --max-columns=512",
file_icons = false,
git_icons = false,
},
winopts = {
split = "belowright new",
preview = {
default = "bat_native",
horizontal = "right:40%",
},
},
}) I never used |
This is not how it should behave, what if you remove the customization, do you have to press Above are some troubleshooting steps, you can also try with the |
But when mapped to
Nothing happens when I mapped to |
@nikbrunner what version of fzf are you using? What happens if you setup a |
I am sorry, but I don't use this Plugin any more. I got a new Laptop since then, and I don't remember what version of |
Opps, the question was actually meant to @strdr4605 :) Ty @nikbrunner! |
Perhaps you have a conflict with another plug-in? Even with minimal init fzf-lua doesn’t erase the other plugins as I didn’t want to mess with ppl’s configs. I would also check existing terminal mappings for |
Hi there,
Thanks you again for your great PlugIn!
I am just missing one feature. Maybe I am missing or not seeing something, but one of my favourite features of Telescope was, to send all current search results to the QuickFix list via Ctrl-q.
I found out that there is a default mapping for Ctrl-i, which seems to be not listed in the README, to select multiple entries and when pressing Enter the selection gets send to the QF List.
But how can I send all current results to the QF list?
Is there are default mapping for this or do I must build a mapping with a custom function?
The text was updated successfully, but these errors were encountered: