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

Adding a listing to see sessions or 3 last used files?

Open thepenguinthatwants opened this issue 4 years ago • 2 comments

Also recent used sessions or seeing 3 final files that has being used could be cool. Is this possible with alpha?

Like

g.startify_custom_indices = {'a', 's', 'd', 'f', 'g', 'h', 'i'} g.startify_bookmarks g.startify_session_dir = '~/.config/nvim/session'

I've actually gotten attached to use dashboard view, but some tools from startify has being itching to get.

thepenguinthatwants avatar Dec 20 '21 18:12 thepenguinthatwants

yeah, the startify theme actually exports the 'mru' buttons that you're describing

https://github.com/goolord/alpha-nvim/blob/main/lua/alpha/themes/startify.lua#L241

you might have to write a little code to make it look how you want

sessions support is a WIP

goolord avatar Dec 21 '21 01:12 goolord

At least it would be enough to have a list showing all sessions and select one of them to load a session. Then it will be a company with other session management plugin. That is, use the session management plugin to save, load and delete sessions and use this plugin to display available sessions. Thanks.

rockyzhang24 avatar Apr 26 '22 00:04 rockyzhang24