27 lines
597 B
Lua
27 lines
597 B
Lua
-- Neo-tree mappings
|
|
--
|
|
|
|
local status_wk, wk = pcall(require, 'which-key')
|
|
if not status_wk then
|
|
return
|
|
end
|
|
|
|
local status_nth, nth = pcall(require, 'custom.plugins.neotree-helper')
|
|
if not status_nth then
|
|
return
|
|
end
|
|
|
|
wk.add {
|
|
{
|
|
mode = { 'n', 'v', 'i' },
|
|
{ '<leader>e', nth.smart_open, desc = 'File [e]xplorer', silent = true, noremap = true },
|
|
},
|
|
{
|
|
mode = { 'n', 'v' },
|
|
{ '<C-e>', nth.smart_open, desc = 'File explorer', silent = true, noremap = true, hidden = true },
|
|
},
|
|
}
|
|
|
|
-- The line beneath this is called `modeline`. See `:help modeline`
|
|
-- vim: ts=2 sts=2 sw=2 et
|