-
-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
- open vim in directory A
- use
:cd
to directory B (my be use in GUI nvim) - do some edit quit, trigger auto-save-session
- Use vim in directory A, but I open the files in dir B
Describe the solution you'd like
Use the autocmd DirChanged global
to follow the cwd change. (Or add an option)
Describe alternatives you've considered
Here is my little workaround:
vim.cmd('autocmd DirChanged global lua require('auto-session-library').conf.last_loaded_session = nil')
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request