0

This question already has an answer here:

I have the following to change my cursor from a block into an underline:

set guicursor=a:hor20-Cursor

Whenever I run df to delete a range, my cursor is changed back to a block.

I have to source my config to have it as an underscore again.

This behaviour seems to happen only with Neovim and not Vim itself.

marked as duplicate by statox Jun 3 at 14:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I can not reproduce your problem with the config you gave. Have you tried to remove everything from your init.conf excepted set guicursor=a:hor20-Cursor? If it still happens I think you'll have to report a bug to neovim otherwise, please check How to debug my vimrc to try to find what is causing the issue. You can edit your question with the details of what you'll find following the methodology of the question I linked. – statox Jun 3 at 14:29
  • 2
    @statox Thanks. Turns out if was a plugin named clever-f that was messing up my guicursor. – Chin Leung Jun 3 at 14:45

Browse other questions tagged or ask your own question.