feat(keymaps): add <leader>; keymap to reopen dashboard

This commit is contained in:
Ngash 2026-05-17 17:08:57 +02:00
parent 7c1301b895
commit 136ca2d48a

View file

@ -88,8 +88,11 @@ map("x", ">", ">gv")
map("n", "gco", "o<esc>Vcx<esc><cmd>normal gcc<cr>fxa<bs>", { desc = "Add Comment Below" })
map("n", "gcO", "O<esc>Vcx<esc><cmd>normal gcc<cr>fxa<bs>", { desc = "Add Comment Above" })
-- lazy
-- lazy / dashboard
map("n", "<leader>l", "<cmd>Lazy<cr>", { desc = "Lazy" })
map("n", "<leader>;", function()
Snacks.dashboard()
end, { desc = "Dashboard" })
-- new file
map("n", "<leader>fn", "<cmd>enew<cr>", { desc = "New File" })