vim commands now only active when vim appears to be open