Describe the problem or limitation you are having
When using plugins to jump to projects, like https://github.com/ahmedkhalf/project.nvim these let you jump to a project root dir and open a file. Then the !pwd will be the one of the project root, not the one of the opened file. So the session will be saved for the project root instead of the eventual subdir where the opened file resides.
Describe the solution you'd like
Could be possible to implement a way to double check the actual path of the opened file and save the session for that path instead of just relying on the !pwd?
Describe the problem or limitation you are having When using plugins to jump to projects, like https://github.com/ahmedkhalf/project.nvim these let you jump to a project root dir and open a file. Then the !pwd will be the one of the project root, not the one of the opened file. So the session will be saved for the project root instead of the eventual subdir where the opened file resides.
Describe the solution you'd like Could be possible to implement a way to double check the actual path of the opened file and save the session for that path instead of just relying on the !pwd?
Describe alternatives you've considered N/A
Additional context N/A