key mapping for closing buffers in telescope

This commit is contained in:
joe-sinopoli 2024-09-13 15:56:19 -04:00
parent 827ea7ceec
commit 327e855735
1 changed files with 12 additions and 5 deletions

View File

@ -383,11 +383,18 @@ 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 = {
defaults = {
mappings = {
n = {
['<c-d>'] = require('telescope.actions').delete_buffer,
},
i = {
['<C-h>'] = 'which_key',
['<c-d>'] = require('telescope.actions').delete_buffer,
},
-- i = { ['<c-enter>'] = 'to_fuzzy_refine' },
-- },
-- },
},
},
-- pickers = {}
extensions = {
['ui-select'] = {