- Fix issue with paths ending in
vim
correctly
- Add telescope picker for integration with telescope
Switch to delete()
instead of system('rm '.sname)
- Add
g:Prosession_ignore_expr
to allow more control over directories to be ignored by prosession
- Switch
g:prosession_ignore_dirs
to be an array of paths instead of a string delimited by a comma
- Add
g:prosession_ignore_dirs
to configure a list of comma separated directories to be ignored by prosession
- Add
g:prosession_last_session_dir
to load last session from that path when launching vim
- Added check for
g:prosession_dir
to create it if not already present. - Fix default session loading flow, instead of doing a recursive call just source the default session file, rest will work
- Added
g:prosession_branch_cmd
to allow working with other vcs, but set to use git by default. - Added a check to ensure
g:prosession_branch_cmd
ignores errors, if any.
- Moved optional git functions to an autoload file.
- Added support for per git branch sessions
- Added function for stripping trailing slash for directory names
- Switched to undofile style naming for the session file
- Disabled
g:prosession_default_session
by default
- Added
g:prosession_default_session
option to allow using of a default session instead of always creating a new one for a new directory.
- Merged pull request #2. Handling case if using vim with stdin.
- Updated augroup definition for loading session during vim startup
- Fixed guard condition for existing vim session while switching to another
- Switchined to using VimEnter autocmd for loading autocmd to do it more gracefully, otherwise there were side effects like skipping of -c commands.
- Changed variable name
g:prosession_load_on_startup
tog:prosession_on_startup
. - Added a guard condition within s:Prosession to ensure we stop a session only if it's already started to avoid side effects.
- Updated
g:prosession_dir
default to~/.vim/session/
in favor of common vim convention.
- Fixed #1
- Added
g:prosession_load_on_startup
to configure whether to load session on startup if vim is launch without any arguments.
- First working version