A VIM plugin to handle sessions like a pro.
It leverages vim-obsession and allows switching between multiple sessions cleanly, the idea is to maintain one session per project (directory) and switch between them when we need to switch context, automatically loading along with it the various files, settings etc ensuring compete isolation between projects. Now there's little need to launch multiple vim instances for separate sessions (projects), you can simply switch between them with ease.
ProSession provides command :Prosession
which completes session file names
from the sessions directory configured by g:prosession_dir
(default
~/.vim/session/
) or completes directory names to start new sessions for. For
more details check :help procession
.
See CHANGELOG.md
Vim ProSession depends on tpope/vim-obsession
- With NeoBundle:
NeoBundle 'dhruvasagar/vim-prosession', {'depends': 'tpope/vim-obsession'}
- With Vundle
Plugin 'tpope/vim-obsession'
Plugin 'dhruvasagar/vim-prosession'
- With Pathogen
cd ~/.vim/bundle
git clone git://github.com/tpope/vim-obsession.git
git clone git://github.com/dhruvasagar/vim-prosession.git