mirror of
https://github.com/hyzendust/KickestEnd.nvim.git
synced 2026-02-15 04:01:13 +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,
|
width = 40,
|
||||||
mapping_options = { noremap = true, nowait = true },
|
mapping_options = { noremap = true, nowait = true },
|
||||||
mappings = {
|
mappings = {
|
||||||
|
['<ESC>'] = function() end, -- override with an empty function to disable <ESC>
|
||||||
['<cr>'] = smart_open,
|
['<cr>'] = smart_open,
|
||||||
['v'] = function(state)
|
['v'] = function(state)
|
||||||
smart_open_split(state, 'h')
|
smart_open_split(state, 'h')
|
||||||
|
|||||||
@@ -47,6 +47,10 @@ return {
|
|||||||
['<C-u>'] = false,
|
['<C-u>'] = false,
|
||||||
['<C-d>'] = false,
|
['<C-d>'] = false,
|
||||||
},
|
},
|
||||||
|
n = {
|
||||||
|
-- disable ESC
|
||||||
|
['<ESC>'] = false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user