From 968d767b27460e4d5a005d6b70e26c7613c8546b Mon Sep 17 00:00:00 2001 From: psychhim Date: Thu, 23 Oct 2025 21:45:41 +0530 Subject: [PATCH] Fix: Disabled for both neo-tree and telescope pickers. Because alpha was closing the whole tab while closing neo-t\ree with . --- lua/plugins/custom/filetree.lua | 1 + lua/plugins/custom/telescope.lua | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/lua/plugins/custom/filetree.lua b/lua/plugins/custom/filetree.lua index 207293f..783d3eb 100644 --- a/lua/plugins/custom/filetree.lua +++ b/lua/plugins/custom/filetree.lua @@ -337,6 +337,7 @@ return { width = 40, mapping_options = { noremap = true, nowait = true }, mappings = { + [''] = function() end, -- override with an empty function to disable [''] = smart_open, ['v'] = function(state) smart_open_split(state, 'h') diff --git a/lua/plugins/custom/telescope.lua b/lua/plugins/custom/telescope.lua index 512e2e1..1e95602 100644 --- a/lua/plugins/custom/telescope.lua +++ b/lua/plugins/custom/telescope.lua @@ -47,6 +47,10 @@ return { [''] = false, [''] = false, }, + n = { + -- disable ESC + [''] = false, + }, }, }, }