Move all vim autocommand lines in one if statement