how i can change cursor color in color scheme “ vim ”

前端 未结 2 1457
遥遥无期
遥遥无期 2020-12-28 19:43

hi all i use this color scheme

Cobalt Colour scheme : Vim version of TextMates Cobalt colour scheme

I can not see the cursor in insert mode

how i

2条回答
  •  醉梦人生
    2020-12-28 20:04

    There is quite a lot of information about how to set the insert mode cursor color in the vim documentation

    Here is an example from the linked documentation:

    highlight Cursor guifg=white guibg=black
    highlight iCursor guifg=white guibg=steelblue
    set guicursor=n-v-c:block-Cursor
    set guicursor+=i:ver100-iCursor
    set guicursor+=n-v-c:blinkon0
    set guicursor+=i:blinkwait10
    

    EDIT:

    The i means insert mode, v visual, c command, and n normal

提交回复
热议问题