Replies: 1 comment 3 replies
-
require'fzf-lua'.fzf_exec("ls", {
actions = {
['enter'] = function(selected, opts)
print("selected item:", selected[1], 'query', opts.last_query)
end
}
}) |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
pkazmier
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m trying to write a keybind handler for fzf_exec that needs access to the query. How would I do that? Use case is for a command I’ve written in both mini.pick and telescope where if the query does not yield results, I invoke a keybind to create a new something based on the query typed.
Beta Was this translation helpful? Give feedback.
All reactions