I believe that Vim scripts saved with Unix-style EOL characters can run on any platform. Probably the easiest way to make sure they stay this way is to add a modeline at the top or bottom of the file, for example: