goolord / alpha-nvim

a lua powered greeter like vim-startify / dashboard-nvim
MIT License
1.82k stars 109 forks source link

Feature request: Multiple layouts #163

Open Gazareth opened 1 year ago

Gazareth commented 1 year ago

Hi there thank you for the amazing plugin, it's easy to use, powerful and looks great.

One thing I was thinking would be useful is to have multiple "alphas".

So for example you could specify more than one layout setup, and select the one you want with an arg, e.g.

:Alpha main

:Alpha project

Here you'd open a project from your main alpha screen, and if there's no buffers, show alpha with a different layout. This layout would have more contextual options, such as "recent project files", "project actions" and "switch project".

But I think there are many other use cases for this, people could link alphas together to create a multi-stage set of menus.

Forgive me if this is out of scope, would be interested to see if others agree that this would be a good feature.

goolord commented 1 year ago

yeah, seems cool

goolord commented 1 year ago

i think this is close to being possible, i think it would be a small change (~+30 loc) to make this work atm