How to delete buffers from picker #488
-
Hi 👋 Is there a way to delete buffers from the buffer picker? {
mappings = {
n = {
["<c-d>"] = actions.delete_buffer + actions.move_to_top,
},
i = {
["<c-d>"] = actions.delete_buffer + actions.move_to_top,
},
}
} I don't use tabs so this was my goto way of managing buffers. (Thanks for the pickers, switched yesterday, it's just 👌🏼) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Not an answer, and looking through the docs and source code, I don't think it's currently possible. @folke, FWIW, I expected this to be |
Beta Was this translation helpful? Give feedback.
-
Added in 2ab18a0 |
Beta Was this translation helpful? Give feedback.
-
I use this for an fzf comparable binding: win = { input = { keys = { ["<c-x>"] = { "bufdelete", mode = { "i", "n" } }, }, }, } |
Beta Was this translation helpful? Give feedback.
Added in 2ab18a0
Thanks! 🙏🏼