【发布时间】:2012-06-21 21:38:40
【问题描述】:
我发现这个 sn-p 可以在我进入插入模式时更改状态行颜色:
" first, enable status line always
set laststatus=2
" now set it up to change the status line based on mode
if version >= 700
au InsertEnter * hi StatusLine term=reverse ctermbg=5 gui=undercurl guisp=Magenta
au InsertLeave * hi StatusLine term=reverse ctermfg=0 ctermbg=2 gui=bold,reverse
endif
现在,当我进入插入模式时,状态行变为紫色,但我想将其更改为红色。我把 Magenta 改成了 Red,但它不起作用..
【问题讨论】:
标签: vim