From 495f84fd35e7b5bb0bb670e232725924b3b85b88 Mon Sep 17 00:00:00 2001 From: Dhruv Manilawala Date: Wed, 9 Jun 2021 23:28:36 +0530 Subject: feat: delete entry from the picker without closing telescope (#828) This action is not mapped but you can do it yourself in your telescope setup call Example config: ```lua require("telescope").setup { pickers = { buffers = { mappings = { i = { [""] = "delete_buffer", } } } } } ``` --- doc/telescope.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/telescope.txt b/doc/telescope.txt index cacbbf4..b54580f 100644 --- a/doc/telescope.txt +++ b/doc/telescope.txt @@ -369,6 +369,15 @@ actions.open_loclist() *actions.open_loclist()* +actions.delete_buffer({prompt_bufnr}) *actions.delete_buffer()* + Delete the selected buffer or all the buffers selected using multi + selection. + + + Parameters: ~ + {prompt_bufnr} (number) The prompt bufnr + + ================================================================================ *telescope.builtin* -- cgit v1.2.3