Skip to content

other pickers inherit files picker actions #1945

Answered by ibhagwan
mortezadadgar asked this question in Q&A
Discussion options

You must be logged in to vote

I don't know what i am doing at this point I added a custom action to files picker and somehow other files related picker like live_grep inherited same actions as well.
the custom action:

Global actions.files is file all file like entries, if you want this only for the files picker move the table under files:

Note you don’t need true at first index as these inherit from the global actions.files

require("fzf-lua").setup({ files = { actions = { … } } })

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mortezadadgar
Comment options

Answer selected by mortezadadgar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants