diff --git a/dot_config/nvim/lua/plugins/telescope.lua b/dot_config/nvim/lua/plugins/telescope.lua index eeabcd2..78be5ee 100644 --- a/dot_config/nvim/lua/plugins/telescope.lua +++ b/dot_config/nvim/lua/plugins/telescope.lua @@ -2,6 +2,15 @@ return { 'nvim-telescope/telescope.nvim', tag = '0.1.5', dependencies = { 'nvim-lua/plenary.nvim' }, config = function() + local actions = require("telescope.actions") + require('telescope').setup({ + defaults = { + mappings = { + i = { [""] = actions.close }, + }, + }, + }) + local builtin = require('telescope.builtin') vim.keymap.set('n', '\'', builtin.marks, {}) vim.keymap.set('n', '.', builtin.find_files, {})