add mapping to delete buffer in telescope.buffers
This commit is contained in:
@@ -9,6 +9,14 @@ telescope.setup({
|
|||||||
i = {
|
i = {
|
||||||
["<C-j>"] = actions.move_selection_worse,
|
["<C-j>"] = actions.move_selection_worse,
|
||||||
["<C-k>"] = actions.move_selection_better,
|
["<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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user