Changing cursor style

How to change cursor to block blinking in insert cuz i hate the thin bar…

See :h guicursor.

You can set it to n-v-c-sm-i-ci-ve:block,r-cr-o:hor20,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor.

Like i wanna set it forever? Ehat is the command?

Add
vim.o.guicursor = 'n-v-c-sm-i-ci-ve:block,r-cr-o:hor20,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor'
to your init.lua.

1 Like

What about the cursor color? asking out of curiosity

See :h hl-Cursor. It is not guaranteed to work. There are a lot of issues related to that in Neovim repository.

ok thx. is it possible to change the cursor to be line in the command mode? still newbie lol

like in telescope. i dun wan it to be block…

Telescope prompt is Insert mode, not Command mode.

If you want Command mode cursor to be vertical line it can be n-v-i-sm:block,c-ci-ve:ver20,r-cr-o:hor20,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor.

It won’t work for Telescope.

thx. Sorry for bothering ur day. Am so sorry

wait… i want the cursor in insert mode to be block and blink. but i want others to remain default… how?

n-v-c-sm:block,ci-ve:ver25,r-cr-o:hor20,i:block-blinkwait700-blinkoff400-blinkon250-Cursor/lCursor