add mapping to delete buffer in telescope.buffers

This commit is contained in:
2022-03-30 23:09:33 +03:00
parent 22bf509127
commit de5c6d760d

View File

@@ -9,6 +9,14 @@ telescope.setup({
i = {
["<C-j>"] = actions.move_selection_worse,
["<C-k>"] = actions.move_selection_better,
["<C-d>"] = function(prompt_bufnr)
actions.delete_buffer(prompt_bufnr)
end,
},
n = {
["<C-d>"] = function(prompt_bufnr)
actions.delete_buffer(prompt_bufnr)
end,
},
},
},