diff options
| author | Dhruv Manilawala <dhruvmanila@gmail.com> | 2021-06-09 23:28:36 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-09 19:58:36 +0200 |
| commit | 495f84fd35e7b5bb0bb670e232725924b3b85b88 (patch) | |
| tree | a975832ce28ea2f53fb27a60ddc2609652b3cf29 /doc | |
| parent | 618e0e6075b4215e43c6a848daa37ef4e354b5dc (diff) | |
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 = {
["<c-d>"] = "delete_buffer",
}
}
}
}
}
```
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/telescope.txt | 9 |
1 files changed, 9 insertions, 0 deletions
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* |
