如您所知,vim中没有(遗憾的) VisualLeave或VisualEnter autocmd。有没有办法模仿它呢?
(旁注:拥有这样的事件将为vim添加更多的功能)
发布于 2013-07-02 10:07:26
到目前为止,最好的解决方案是:Run command when vim enters visual mode
没有Visual* autocmd事件是一种变通办法。
https://stackoverflow.com/questions/16165350
相似问题