Files
nvim-modular/lua/custom/keymaps/files.lua
2025-08-11 01:55:28 +02:00

20 lines
521 B
Lua

-- Neo-tree mappings
--
local wk = require 'which-key'
local neotree_helper = require 'custom.plugins.neotree-helper'
wk.add {
{
mode = { 'n', 'v', 'i' },
{ '<leader>e', neotree_helper.smart_open, desc = 'File [e]xplorer', silent = true, noremap = true },
},
{
mode = { 'n', 'v' },
{ '<C-e>', neotree_helper.smart_open, desc = 'File [e]xplorer', silent = true, noremap = true, hidden = true },
},
}
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et