Search code examples
vim

Setting the cursor to a vertical thin line in vim


I am trying to set the cursor in insert mode to be a thin vertical line and I am unable to. I have tried this in my .vimrc file:

set guicursor+=i:ver100-iCursor

It does not set the cursor to a vertical bar on insert mode.

What am I missing and how do I do this?


Solution

  • This did the trick:

    set guicursor=i:ver25-iCursor

    I had to reduce the 100 to 25