This adds an option to create a "DirChanged" autocmd that will activate (and "deactivate") the workspace if the directory is changed not via this plugin, for example, via a manual ":cd" or another plugin.
I thought the deactivate part is useful since I personally added the workspace name to my status bar, and the current workspace would remain if I used ":cd" to change to another directory.
I set the config default to off.
Let me know if you like this feature and if the naming is ok, I wasn't sure the best name for the config option.
This adds an option to create a "DirChanged" autocmd that will activate (and "deactivate") the workspace if the directory is changed not via this plugin, for example, via a manual ":cd" or another plugin.
I thought the deactivate part is useful since I personally added the workspace name to my status bar, and the current workspace would remain if I used ":cd" to change to another directory.
I set the config default to off.
Let me know if you like this feature and if the naming is ok, I wasn't sure the best name for the config option.