Vim cursor doesn't match character width

Steps to reproduce

Turn on Vim mode

Expected result

The cursor should be the same width as the character it’s hovering over.

Actual result

Cursor has a fixed narrow width.


  • Operating system: Windows 10
  • Obsidian version: 0.6.4
  • Using custom CSS: Slowbad’s solarized scheme.

Additional information


This is most likely related to a long standing issue with CodeMirror, see issue #3256. Switching your editor font to a monospace font will improve this quite a bit.

@shydlou Thanks for the heads up. It looks like they “fixed” it but obviously it’s still happening.

1 Like

I will move this to the graveyard while we wait for an upstream fix

The issue has been fixed upstream. At some point, we will include this fix.