0

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:

  1. Is there a way in a vim script to test which OS it is running on?
  2. Are there any other incompatibilities between GVim and Linux vim as far as the vimrc is concerned?

Thanks in advance

Luke M
  • 153

0 Answers0