Neovim: Add action to delete a buffer from Telescope
This commit is contained in:
parent
ce2955c8d7
commit
00083b0deb
@ -296,11 +296,20 @@ require('lazy').setup({
|
||||
-- You can put your default mappings / updates / etc. in here
|
||||
-- All the info you're looking for is in `:help telescope.setup()`
|
||||
--
|
||||
-- defaults = {
|
||||
-- mappings = {
|
||||
-- i = { ['<c-enter>'] = 'to_fuzzy_refine' },
|
||||
-- },
|
||||
-- },
|
||||
defaults = {
|
||||
mappings = {
|
||||
n = {
|
||||
-- Add action to delete a buffer from the Telescope list
|
||||
['<c-d>'] = require('telescope.actions').delete_buffer,
|
||||
},
|
||||
i = {
|
||||
-- ['<c-enter>'] = 'to_fuzzy_refine',
|
||||
|
||||
-- Add action to delete a buffer from the Telescope list
|
||||
['<c-d>'] = require('telescope.actions').delete_buffer,
|
||||
},
|
||||
},
|
||||
},
|
||||
-- pickers = {}
|
||||
extensions = {
|
||||
['ui-select'] = {
|
||||
|
Loading…
Reference in New Issue
Block a user