Skip to content
Discussion options

You must be logged in to vote

Is there a way to customize the behavior of actions.buf_del() to accomplish this? Or perhaps replace buf_del with Snacks.bufdelete()?

       buffers = {
            actions = {
                ["ctrl-x"] = {
                    reload = true,
                    fn = function(selected)
                        local bufnr = FzfLua.path.entry_to_file(selected[1]).bufnr
                        -- call snacks.bufdelete or mini.bufdelete with the bufnr
                    end,
                }
            }
        }

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by edmondburnett
Comment options

You must be logged in to vote
0 replies
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