Closed Zeioth closed 7 months ago
Deleting this block from prosession.vim fixes the issue. It seems that 'throw' is preventing prosession from opening the session unless I put the directory on "~/" for some reason.
if !isdirectory(dir)
call s:throw('Directory ' . dir . ' does not exist')
endif
@Zeioth If you want to load a session manually, you might as well source it manually. Prosession follows a naming convention for the session files. Can you elaborate on exactly what you want to achieve ?
The issue I was experiencing was that I could not open a session unless there was a directory with the same name as my session in "~/" when using vim-prosession. IDk if was a missconfiguration issue, or a bug.
Prosession doesn't really require or do anything special with ~/
directory. I am closing this since I am not able to reproduce this.
Let's say I have a session ".vim/sessions/meta.vim"
Autocomplete correctly, but when I press enter, I get the error:
To fix this I have to create the directory "~/meta"
The thing is I don't wanna have "~/meta" I want to have ~/activities/meta. There's some way to bypass the checking to achieve this? Thank you