mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-22 04:21:08 +00:00
feat(keymaps): add <leader>; keymap to reopen dashboard
This commit is contained in:
parent
7c1301b895
commit
136ca2d48a
1 changed files with 4 additions and 1 deletions
|
|
@ -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" })
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue