如何更改当前焦点窗口状态栏的颜色?


Answers:


21

您可以在vimrc中更改它。当前聚焦的窗口是突出显示组Statusline,其他窗口是StatuslineNC

Vim终端示例:

hi StatusLine                  ctermfg=8     ctermbg=2     cterm=NONE
hi StatusLineNC                ctermfg=2     ctermbg=8     cterm=NONE

对于GUI,请使用guifgguibg


gvim的默认值为StatusLineterm=bold,reverse cterm=bold,reverse gui=bold,reverseStatusLineNC其值为term=reverse cterm=reverse gui=reverse
roblogic
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.