mirror of
https://github.com/hyzendust/KickestEnd.nvim.git
synced 2026-02-15 00:21:15 +01:00
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:
@@ -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')
|
||||
|
||||
@@ -47,6 +47,10 @@ return {
|
||||
['<C-u>'] = false,
|
||||
['<C-d>'] = false,
|
||||
},
|
||||
n = {
|
||||
-- disable ESC
|
||||
['<ESC>'] = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user