goolord / alpha-nvim

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

Feature request: Manipulate MRU #192

Closed comiluv closed 1 year ago

comiluv commented 1 year ago
goolord commented 1 year ago

Neovim just because some files in MRU list are stored in devices that are asleep

i think you are misunderstanding how the list works/is populated. the list is fetched from the oldfiles in the shada file https://neovim.io/doc/user/starting.html#shada-file, which neovim usually reads weather or not this plugin is even installed. i believe that oldfiles acts like a cache, when you read a file in neovim it's inserted into this list. neovim shouldn't need to read any files in this list on startup

Moving cursor on the number inside brackets and pressing a hotkey such as "x" to remove the selected entry from the list Commands such as :Alpha rm number to remove the numbered entry Commands such as :Alpha reset to completely reset MRU list

this is a really bizarre request and I don't think I want to accommodate it. fwiw you can define this yourself very easily simply by defining a command which mutates this table and calls AlphaRedraw

https://github.com/goolord/alpha-nvim/blob/3847d6baf74da61e57a13e071d8ca185f104dc96/doc/alpha.txt#L217-L227