[vim] Fix bug that vim mode could not be disabled