I use vim on windows (GVim portable off a USB stick) and Linux (standard command-line vim) and would like to synchronise my settings (_vimrc or .vimrc respectively). As far as I can see (I haven't delved too deeply into it) the only difference should be the shell used for external commands.
TLDR:
- Is there a way in a vim script to test which OS it is running on?
- Are there any other incompatibilities between GVim and Linux vim as far as the
vimrcis concerned?
Thanks in advance