[GH-ISSUE #722] Esc in Vim Keymap does not exit insert mode #374

Closed
opened 2026-03-03 00:20:39 +03:00 by kerem · 3 comments
Owner

Originally created by @tristenps on GitHub (Dec 16, 2020).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/722

Current behavior

Pressing doesn't leave insert mode when using the vim editor keymap.

Expected behavior

It should exit insert mode, just like Ctrl+C and Ctrl+[

Steps to reproduce

  1. Change/use editor keymap: vim
  2. Press i to go into insert mode
  3. Pressing esc pauses the cursor blink, but leaves you in insert mode.

Environment

Desktop/Web

  • Boost Note.next version: Version 0.11.5
  • OS version and name: Desktop, MacOS 11.1
    Desktop, MacOS 11.1
Originally created by @tristenps on GitHub (Dec 16, 2020). Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/722 # Current behavior Pressing <Esc> doesn't leave insert mode when using the vim editor keymap. <!-- Let us know what is currently happening. Please include some **screenshots** with the **developer tools** open (console tab) when you report a bug. If your issue is regarding the old Boostnote, please open an issue in the old repo 👉 https://github.com/BoostIO/Boostnote/issues. --> # Expected behavior It should exit insert mode, just like Ctrl+C and Ctrl+[ <!-- Let us know what you think should happen! --> # Steps to reproduce <!-- Please be thorough, issues we can reproduce are easier to fix! --> 1. Change/use editor keymap: vim 2. Press i to go into insert mode 3. Pressing esc pauses the cursor blink, but leaves you in insert mode. # Environment ## Desktop/Web - Boost Note.next version: Version 0.11.5 - OS version and name: Desktop, MacOS 11.1 Desktop, MacOS 11.1
kerem 2026-03-03 00:20:39 +03:00
Author
Owner

@SimonCW commented on GitHub (Jan 4, 2021):

Same Issue. Unfortunately, I cannot add more insights as my environment.

Environment

  • Boost Note version Boost Note 0.12.3
  • Desktop, Win10
<!-- gh-comment-id:754004876 --> @SimonCW commented on GitHub (Jan 4, 2021): Same Issue. Unfortunately, I cannot add more insights as my environment. ### Environment - Boost Note version Boost Note 0.12.3 - Desktop, Win10
Author
Owner

@Komediruzecki commented on GitHub (Jan 5, 2021):

Hi to all,

this issue is happening because of local editor search keybinding for escape. This means that currently, we have 2 actions that need to be done for the escape button, in VIM keybinding it must exit the insert mode, and in search results overview it must clear the search.

Since the local editor search will soon be improved and aligned with global search, this issue will be resolved, since the local search input box will automatically clear search results on close rather than using an additional Esc key to clear search highlight.

Thank you for reporting this!

I'll update the issue with a link to local search improvement issue soon and link with PR once it's finished.
EDIT: Link to issue: #762

<!-- gh-comment-id:754429299 --> @Komediruzecki commented on GitHub (Jan 5, 2021): Hi to all, this issue is happening because of local editor search keybinding for escape. This means that currently, we have 2 actions that need to be done for the escape button, in VIM keybinding it must exit the insert mode, and in search results overview it must clear the search. Since the local editor search will soon be improved and aligned with global search, this issue will be resolved, since the local search input box will automatically clear search results on close rather than using an additional Esc key to clear search highlight. Thank you for reporting this! I'll update the issue with a link to local search improvement issue soon and link with PR once it's finished. EDIT: Link to issue: #762
Author
Owner

@Rokt33r commented on GitHub (Feb 22, 2021):

Closing this in favor of #762. And the fix will be shipped in v0.14.0 which will be released in the next week.

<!-- gh-comment-id:783194233 --> @Rokt33r commented on GitHub (Feb 22, 2021): Closing this in favor of #762. And the fix will be shipped in v0.14.0 which will be released in the next week.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/BoostNote-App#374
No description provided.