Results 1 to 1 of 1
Hi.
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-15-2008 #1Just Joined!
- Join Date
- Jan 2008
- Posts
- 1
Vim session across windows and linux
Hi.
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
/media/Flash-disk/my_work/etc
and a .vim file created under windows will contain references such as
e:\my_work\etc
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.


Reply With Quote
