Vim 亮点:一个键的多个值
Vim higlight : multiple values to a key
我想 vim 不仅要加粗当前行,还要加下划线。
我当前的 .vimrc 看起来像这样:
hi cursorline term=bold cterm=bold guibg=Grey40
set cursorline
是否可以为我的 cterm 添加值?
类似
cterm=bold&underline
或
cterm=bold cterm+=underline
谢谢
你应该使用逗号:
cterm=bold,underline
如 :help attr-list
中所述:
attr-list is a comma separated list (without spaces) of the
following items (in any order):
bold
underline
undercurl not always available
reverse
inverse same as reverse
italic
standout
NONE no attributes used (used to reset it)
我想 vim 不仅要加粗当前行,还要加下划线。
我当前的 .vimrc 看起来像这样:
hi cursorline term=bold cterm=bold guibg=Grey40
set cursorline
是否可以为我的 cterm 添加值?
类似
cterm=bold&underline
或
cterm=bold cterm+=underline
谢谢
你应该使用逗号:
cterm=bold,underline
如 :help attr-list
中所述:
attr-list is a comma separated list (without spaces) of the
following items (in any order):
bold
underline
undercurl not always available
reverse
inverse same as reverse
italic
standout
NONE no attributes used (used to reset it)