dashboard-nvim
dashboard-nvim copied to clipboard
show hotkey when have filename too long
Prior to updating, when using tmux and vertical splitting.. The dashboard would re-center itself in the window. It no longer centers, and the text is off the screen. I cannot see which hotkeys are assigned to the recent files to quick pick.
Reproduce: Use vertical tmux split pane.
Implemented code:
theme = 'hyper',
config = {
week_header = {
enable = true,
},
project = {
enable = true,
},
packages = {
enable = false,
};
footer = {},
disable_move = true,
},
})
Expected to re-center itself.
Dashboard centered on full screen terminal:
Dashboard no longer centered with vertical tmux split:
why you think it's not centered ? it's centered. header shorcuts etc. about center you have a file too long. that indent file
It used to cut the filename off for me and still show the hotkeys. Double checking
never cut filename before. but it should cut name or set hotkey in head instead of tail when it's too long.
You're totally right. Cleared out the history and the hotkeys show now with the filename not being too long. Sorry for the bother but thanks for the quick reply!
should handle this situation .so I reopened this . maybe improve later or next version when i have time ;)
Can confirm, same issue. When filename is too long they are not shown and it takes whole screen.
For me, its not about vertical splitting the terminal. It happens when opening any project in single terminal window.