I use astronvim for nvim config, but it change the cursor to bar when in insert mode. Is there a way to force the cursor to be block at any mode?
I try to find some help in vim manual, :help cursor
, but I can't find anything helpful.
Add set guicursor=
to your init.vim
.
Citing Neovim FAQ:
For Nvim 0.2 or newer: cursor styling is controlled by the
guicursor
option.
- To disable cursor-styling, set guicursor to empty:
set guicursor= " Workaround some broken plugins which set guicursor indiscriminately. :autocmd OptionSet guicursor noautocmd set guicursor=