Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cursor position missing in vim mode with markdown syntax highlighting #405
I appreciate Standard Notes and all the hard work that goes into improving it!
Following up with an issue I initially reported on twitter as advised to here: https://twitter.com/StandardNotes/status/1078742198387126274
When using vim mode with markdown highlighting, moving through the document in normal mode, I lose the cursor highlighting when navigating through Markdown code blocks, which makes it nearly impossible to jump around and edit the text.
Steps to reproduce
Cursor position within the markdown code block is hidden. I cannot see the cursor at all. This means I have no idea where the cursor is when I'm trying to navigate around and type.
I'm guessing the code block's background color is obscuring the cursor highlight.
Should see the cursor highlighted. So you know where the cursor is and where you're navigating. through the text.
I hope the steps, details, and screenshots help. Please let me know if I can provide any additional information!
Hey @kyletolle, thanks for the detailed report! It looks like the cursor is hiding behind the gray code blocks in Markdown mode. This should now be fixed in version 1.2.3 of the Vim editor. You can update via the Extensions menu. On web, be sure to clear your cache if the update doesn't seem to have taken effect.
Thanks for the quick fix @mobitar! With Vim Editor v1.2.3 I can see the cursor again. One more question. Should the character be visible when the cursor is highlighted?
When the cursor is visible in SN's vim editor, I can't see the character the cursor is on.