This commit is contained in:
2025-09-07 12:13:29 +02:00
parent 1c933f1054
commit c9395198b6
7 changed files with 35 additions and 31 deletions

View File

@@ -11,6 +11,8 @@ if not status_nth then
return
end
local opts = { noremap = true, silent = true }
wk.add {
{
mode = { 'n', 'v' },
@@ -19,13 +21,12 @@ wk.add {
'<leader>ec',
'<CMD>Neotree position=left toggle dir=' .. os.getenv 'XDG_CONFIG_HOME' .. '/nvim<CR>',
desc = 'explore [c]onfiguration files',
silent = true,
noremap = true,
opts,
},
},
{
mode = { 'n', 'v', 'i' },
{ '<C-e>', nth.smart_open, desc = 'File explorer', silent = true, noremap = true, hidden = true },
{ '<C-e>', nth.smart_open, desc = 'File explorer', opts, hidden = true },
},
}