I'm at home on a few unixy systems, FreeBSD/amd64, Linux/amd64 and Solaris/Sparc. I would like my
~/.vim directory as portable as possible, ideally in such a way I can keep them identical (say, rsync them after modifying my reference installation).
How portable is a vim configuration with installed plugins?
I can think of a few possible issues getting in the way of full portability (defined as copy all files from your reference and everything just works). Assume major and minor versions of vim are the same.
- Do plugins install files outside of
- Endianness: amd64 is LE, while SparcV9 is BE
- Absolute paths recorded at installation time
- Availability of and
PATHto third party tools (python 3, ...)
- termcap vs. terminfo
- Anything else I have missed
Before I just do it, is copying everything a dumb idea waiting to fail?
Anything else I should watch out for? I'm happy to have some code in my
.vimrc conditional on the OS or host I'm on.
Note: I know
.vimrc is pretty portable. That's no what I'm asking. I am specifically interested in the portability of the whole
.vim directory, where plugins are installed and configured.