Fix: Disabled <ESC> for both neo-tree and telescope pickers. Because alpha was closing the whole tab while closing neo-t\ree with <ESC>.

This commit is contained in:
psychhim
2025-10-23 21:45:41 +05:30
parent 7d1b4f6518
commit 968d767b27
2 changed files with 5 additions and 0 deletions

View File

@@ -337,6 +337,7 @@ return {
width = 40,
mapping_options = { noremap = true, nowait = true },
mappings = {
['<ESC>'] = function() end, -- override with an empty function to disable <ESC>
['<cr>'] = smart_open,
['v'] = function(state)
smart_open_split(state, 'h')

View File

@@ -47,6 +47,10 @@ return {
['<C-u>'] = false,
['<C-d>'] = false,
},
n = {
-- disable ESC
['<ESC>'] = false,
},
},
},
}