I develop on Linux at home and on Windows at work. I’d like to use the same vimrc file in both environments. The problem I have with this is that on Windows, I want to have the editor use the Consolas font, and on linux, a different font. How can I check the environment so I can conditionally set the editor font? (I am familiar with the actual command to change font; it’s the conditional I don’t get)
Share
Exception from my .vimrc