在vim编辑文件时,若单行过长,可能会导致vim卡顿,严重影响使用体验

估计是syntax匹配效率过滥导致。。

偶尔发现了一个临时的解决办法就是关掉syntax然后再打开,即在命令模式下

:syntax off
:syntax on

 

参考:http://www.zhihu.com/question/33623946/answer/57172100

http://www.douban.com/group/topic/28307548/

相关文章:

  • 2021-11-26
  • 2021-11-27
  • 2022-01-03
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2021-08-04
  • 2022-12-23
猜你喜欢
  • 2022-01-03
  • 2021-09-06
  • 2022-01-13
  • 2021-12-16
  • 2022-12-23
  • 2021-07-06
  • 2022-12-23
相关资源
相似解决方案