VIM initial settings: change background color for line number on the left side?

前端 未结 4 1365
感动是毒
感动是毒 2021-01-31 08:41

I use _vimrc to configure my vim 7.2 (windows) default settings. One setting \"set number\" will display line numbers on the left side. My vim background color is w

4条回答
  •  春和景丽
    2021-01-31 09:29

    In my _vimrc, here is the setting:

    highlight LineNr guibg=grey
    

    or

    hi LineNr guibg=grey
    

    I don't need to set fore-color, the default is yellow and it is OK for me.

提交回复
热议问题