Added state for vim