mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(extras.ui.mini-animate): associate toggle keymap with plugin
This commit is contained in:
parent
ec5981dfb1
commit
62e262f0bd
2 changed files with 9 additions and 1 deletions
|
|
@ -149,7 +149,6 @@ Snacks.toggle.option("showtabline", { off = 0, on = vim.o.showtabline > 0 and vi
|
|||
Snacks.toggle.treesitter():map("<leader>uT")
|
||||
Snacks.toggle.option("background", { off = "light", on = "dark" , name = "Dark Background" }):map("<leader>ub")
|
||||
Snacks.toggle.dim():map("<leader>uD")
|
||||
Snacks.toggle.animate():map("<leader>ua")
|
||||
Snacks.toggle.indent():map("<leader>ug")
|
||||
Snacks.toggle.scroll():map("<leader>uS")
|
||||
Snacks.toggle.profiler():map("<leader>dpp")
|
||||
|
|
|
|||
|
|
@ -60,5 +60,14 @@ return {
|
|||
},
|
||||
})
|
||||
end,
|
||||
keys = {
|
||||
{
|
||||
"<leader>ua",
|
||||
function()
|
||||
Snacks.toggle.animate()
|
||||
end,
|
||||
desc = "Toggle Animation",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue