fixed vim events not responding bug