Replies: 1 comment
-
I managed to solve this by adding in my personal configuration the following spec for {
"nvimdev/dashboard-nvim",
opts = function(_, opts)
opts.config.center[1] =
{ action = [[lua LazyVim.telescope("files")()]], desc = " Find file", icon = " ", key = "f" }
for _, button in ipairs(opts.config.center) do
button.desc = button.desc .. string.rep(" ", 43 - #button.desc)
button.key_format = " %s"
end
end,
}, I got the idea from seeing how the Pinging @folke as I'm not sure why this happens on a manually created Dashboard and don't believe that this is worthy of a PR without me understanding what's actually going on. Hopefully he can shed some light on why this happens. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I added an autocmd to show dashboard in a new tab:
Recently it stops working when I press
f
in the opened dashboard. It shows an error:How can I fix it? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions