Shatur / neovim-session-manager

A simple wrapper around :mksession.
GNU General Public License v3.0
530 stars 52 forks source link

automatically saved when the current working directory is changed #111

Closed Parsifa1 closed 9 months ago

Parsifa1 commented 9 months ago

When the current working directory changes, it is obvious that the previous modifications to the session corresponding to the working directory should be saved (my personal opinion) I think it will be easier to use after adding

Shatur commented 9 months ago

This will trigger saving even after commands like :cd, not sure if I like this behavior. For example, I may to do a :cd .. and it will trigger saving. I think autosave should be triggered only after changing the session.

However, if you like this behavior, you can register and autocmd in your configuration.

Parsifa1 commented 9 months ago

This will trigger saving even after commands like :cd, not sure if I lik哟e this behavior. For example, I may to do a :cd .. and it will trigger saving. I think autosave should be triggered only after changing the session.

However, if you like this behavior, you can register and autocmd in your configuration.

you are right, thank you.