alpha-nvim icon indicating copy to clipboard operation
alpha-nvim copied to clipboard

show cmd output in floating window

Open danielnehrig opened this issue 2 years ago • 5 comments

dashboard.nvim has the ability to cat files and put the output as a floating term on the dashboard screen would be cool if we could have it here as well it also allows for piping into lolcat etc see: https://github.com/danielnehrig/nvim/blob/71d05338354edf3b8f1b8cc30fdec77ad74b5e60/lua/plugins/dashboard/init.lua

danielnehrig avatar Nov 09 '21 21:11 danielnehrig

yeah this is easily doable i think, mostly adding another entry to layout_element and keymaps_element and making sure the geometry is correct, should be a pretty small change

goolord avatar Nov 09 '21 21:11 goolord

I would like to give this a try.

ben-hansske avatar Dec 02 '21 22:12 ben-hansske

@ben-hansske looking forward

danielnehrig avatar Dec 09 '21 07:12 danielnehrig

Hey all. Has anyone actively worked on a pull request for this? Recent changes in dashboard.nvim make it look quite simple

olimorris avatar Jun 30 '22 16:06 olimorris

there exists a pr at https://github.com/goolord/alpha-nvim/pull/63, it's less simple for alpha since we're trying to get the window to change positions when there is a redraw. you can use this branch, the alpha api is extensible, if you are really so inclined it would probably be simple to add dashboard's terminal preview : )

goolord avatar Jun 30 '22 16:06 goolord

"terminal" type added here https://github.com/goolord/alpha-nvim/pull/124

goolord avatar Feb 14 '23 19:02 goolord