[vimmode] change the windows detec method
[formatter] little change