add conditional os setting in .vimrc