Vim session across windows and linux
I have gvim on my Linux Desktop and and gvim portable on my flash drive for use at windows machines. I've setup my flash drive to always be drive e under windows. The obvious problem is that sessions saved under linux will not work under windows due the the fact the the file paths are not the same eg:
Linux .vim file will contain references such as
and a .vim file created under windows will contain references such as
Is there perhaps a way to make vim session file save data with reletive paths rather than absolute. ./my_work for example (there's that other forward-backward slash command that would have to be included)
This way (I hope) session files could be used across both systems seamlessly.