added if statement to the vimrc