Neovim: Add action to delete a buffer from Telescope

This commit is contained in:
Tony Grosinger 2024-05-31 11:29:44 -07:00
parent ce2955c8d7
commit 00083b0deb

View File

@ -296,11 +296,20 @@ require('lazy').setup({
-- You can put your default mappings / updates / etc. in here -- You can put your default mappings / updates / etc. in here
-- All the info you're looking for is in `:help telescope.setup()` -- All the info you're looking for is in `:help telescope.setup()`
-- --
-- defaults = { defaults = {
-- mappings = { mappings = {
-- i = { ['<c-enter>'] = 'to_fuzzy_refine' }, 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 = {} -- pickers = {}
extensions = { extensions = {
['ui-select'] = { ['ui-select'] = {