🐛 fix(nvim): add snacks to the dashboard toggle keymap
This commit is contained in:
parent
c174e1fe9c
commit
ef1e62a60b
1 changed files with 3 additions and 1 deletions
|
@ -177,7 +177,9 @@ map("x", "#", [[y?\V<C-R>=escape(@", '?\')<CR><CR>]], { desc = "Search Selected
|
|||
|
||||
-- Dashboard
|
||||
map("n", "<leader>fd", function()
|
||||
if LazyVim.has("alpha-nvim") then
|
||||
if LazyVim.has("snacks.nvim") then
|
||||
Snacks.dashboard()
|
||||
elseif LazyVim.has("alpha-nvim") then
|
||||
require("alpha").start(true)
|
||||
elseif LazyVim.has("dashboard-nvim") then
|
||||
vim.cmd("Dashboard")
|
||||
|
|
Loading…
Add table
Reference in a new issue