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 -- 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 = {
-- }, ['<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 = {} -- pickers = {}
extensions = { extensions = {
['ui-select'] = { ['ui-select'] = {