thaerkh / vim-workspace

📑 Automated Vim session management with file auto-save and persistent undo history
Apache License 2.0
466 stars 30 forks source link

Include variable to define what files to autosave and hide errors with mksession #46

Closed jordisantamaria closed 2 years ago

jordisantamaria commented 3 years ago

The plugin is giving soo many errors all time, so I think It would be nice to let user decide what files want to autosave, to avoid those errors. Also mksession is giving error sometimes, for example in q: mode, so include silent to avoid show those errors, they are so annoying.

jordisantamaria commented 3 years ago

I see, thanks for feedback, my bad to request PR with master branch, I included git feature later lol. I will update It to give a flag for git repository then.

jordisantamaria commented 3 years ago

@thaerkh I updated It to include variable g:workspace_only_git_dir to activate workspace only for git repositorys. Is it ok like this?

thaerkh commented 2 years ago

This looks good to me, thank you!