Buffer delete #1292
Buffer delete
#1292
-
Hi, there. So, I would like to add an action to opts.buffers = vim.tbl_deep_extend("force", opts.buffers, {
actions = {
["ctrl-d"] = actions.buf_del,
},
}) and it works in that it deletes the buffer that I choose, but I would like, if it's possible, for the window to not close and I can continue working with the |
Beta Was this translation helpful? Give feedback.
Answered by
dpetka2001
Jun 22, 2024
Replies: 1 comment 2 replies
-
Ok, I should really read the README more carefully before asking questions like these. opts.buffers = vim.tbl_deep_extend("force", opts.buffers, {
actions = {
["ctrl-d"] = { fn = actions.buf_del, reload = true },
},
}) did the trick. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ibhagwan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, I should really read the README more carefully before asking questions like these.
did the trick.