mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-26 21:05:55 +03:00
[GH-ISSUE #1273] Cursor not visible in Vim mode #492
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#492
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jason-pollock on GitHub (Oct 18, 2021).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/1273
Current behavior
While in Vim mode, the cursor is invisible on empty lines. This is reproducible in every note. Reproducible in Mac, Debian, and online versions.
https://i.imgur.com/83F6ceb.png
Expected behavior
The cursor should be visible on empty lines, displayed in blinking block format.
Steps to reproduce
Open a new or existing note. Enter Insert mode and type a few lines. Exit to Command mode. Navigate to an empty line using "H" or "J". Notice that your cursor is invisible on empty lines.
Not much else to say. It happens to me every time on every note.
Environment
Web
Mac
Debian
Boost Note.next version: 0.22.0
OS version and name: Kubuntu 20.04, MacOS Big Sur 11.6
@Komediruzecki commented on GitHub (Oct 18, 2021):
Hi,
I can confirm the issue, I'll notice the team so we can resolve this quickly.
@Komediruzecki commented on GitHub (Oct 26, 2021):
Hello,
I investigated the issue, this seems to be a general Codemirror bug, https://github.com/codemirror/CodeMirror/issues/6312
which means if we are using VIM mode and
contenteditablein Codemirror editor, the VIM cursor on an empty line won't be shown. So it is either moving totextareamode (and losing IME working properly) or waiting for the Codemirror to fix this.I made a comment on the issue, if this will be resolved quickly, we will just update the Codemirror version, otherwise, we should see for some other solutions.
@jason-pollock commented on GitHub (Jan 23, 2023):
Looks like Codemirror has fixed the bug causing this issue, yet the issue persists in Boost Note. Any chance of revisiting this issue? Get Vim mode working again?