diff --git a/init.lua b/init.lua index ad5cd328..22da83b3 100644 --- a/init.lua +++ b/init.lua @@ -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 = { - -- i = { [''] = 'to_fuzzy_refine' }, - -- }, - -- }, + defaults = { + mappings = { + n = { + [''] = require('telescope.actions').delete_buffer, + }, + i = { + [''] = 'which_key', + [''] = require('telescope.actions').delete_buffer, + }, + -- i = { [''] = 'to_fuzzy_refine' }, + }, + }, -- pickers = {} extensions = { ['ui-select'] = {