Compare commits

...

3 commits

Author SHA1 Message Date
antoine
380ca69046
feat: mini.files close on file open for l and enter 2026-04-19 12:05:14 +02:00
antoine
7c6161c6ac
Revert "fix: remove dashboard startup section (no lazy.nvim)"
This reverts commit 9385589aeb.
2026-04-19 10:16:10 +02:00
antoine
9385589aeb
fix: remove dashboard startup section (no lazy.nvim) 2026-04-19 10:14:19 +02:00

View file

@ -11,6 +11,21 @@
require("mini.icons").mock_nvim_web_devicons()
'';
luaConfigRC.mini-files-close-on-open = ''
vim.api.nvim_create_autocmd("User", {
pattern = "MiniFilesBufferCreate",
callback = function(args)
local map = function(key)
vim.keymap.set("n", key, function()
MiniFiles.go_in({ close_on_file = true })
end, { buffer = args.data.buf_id })
end
map("l")
map("<CR>")
end,
})
'';
binds.whichKey = {
enable = true;
setupOpts.delay = 300;