dhruvasagar / vim-prosession

Handle vim sessions like a pro
254 stars 22 forks source link

Unique viminfo per session #98

Closed jrudess closed 2 years ago

jrudess commented 2 years ago

Thanks for this plugin -- been using it for quite a long time now. I typically run a separate instance of vim for every session, from a different repo-root. One issue I have is that the 'viminfo' file is still shared across all these instances so I often get my command-line and search-histories corrupted with data from a different session.

Similar to the 'undo' file support, could prosession add an option to setup a unique viminfo file per session?

:set viminfo+=path/to/custom/viminfo
dhruvasagar commented 2 years ago

@jrudess I will look into this, sounds like a good idea.