简体   繁体   English

如何在Vim中为nerdtree插件禁用光标线?

[英]How do I disable the cursorline in vim for the nerdtree plugin?

I can disable the cursorline in the nerdtree plugin by the following command 我可以通过以下命令禁用nerdtree插件中的光标线

:set nocursorline

but how do I do it in my .vimrc file? 但是如何在.vimrc文件中执行此操作?

Try this let NERDTreeHighlightCursorline=0 . 试试这个let NERDTreeHighlightCursorline=0 More details see NERDTree doc . 有关更多详细信息,请参见NERDTree doc
By the way, before asking question, you should check the manual first. 顺便提一下,在问问题之前,您应该先阅读手册。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM