I have vim-startify save sessions on the basis of the git branch. So, the list of my sessions has become very long. I was looking for a function of something to delete the sessions automatically which are more than 1 month old and haven't been updated.
IMO, this has nothing to do with stratify. You can use an auto-command like VimEnter to trigger a function that goes over session files and do whatever logic you would want.
I have
vim-startify
save sessions on the basis of thegit
branch. So, the list of my sessions has become very long. I was looking for a function of something to delete the sessions automatically which are more than 1 month old and haven't been updated.Can we do this?