Skip to content

Conversation

@warcholjakub
Copy link
Collaborator

@warcholjakub warcholjakub commented Sep 2, 2025

Fixes #924

This PR introduces a global keybinding for toggling the console using Ctrl+j (Windows/Linux) or Meta+j (Mac), replacing the previous F3 shortcut. The shortcut is now handled globally, so it works regardless of editor focus.

Key changes include

  • Added a global keydown listener that triggers the console toggle action when the user presses Ctrl+j or Meta+j, making the shortcut available even when the editor is not focused.
  • Changed the console shortcut from F3 to Ctrl+j (or Meta+j on Mac) to avoid conflicts with browser shortcuts.
  • The console shortcut displayed in the UI is now dynamically retrieved from EditorKeymaps instead of being hardcoded

@warcholjakub warcholjakub requested a review from rochala September 2, 2025 13:07
@warcholjakub warcholjakub changed the title feat: add global keybinding for console (Ctrl+/ or Meta+/), update shortcut display in UI feat: add global keybinding for console (Ctrl+j or Meta+j), update shortcut display in UI Sep 2, 2025
…ortcut display in UI

- Added a global keybinding for toggling the console using `Ctrl+/ `(Windows/Linux) or `Meta+/` (Mac), replacing the previous `F3` shortcut.
- Updated the UI to dynamically display the current console shortcut from EditorKeymaps instead of hardcoding it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

F3 console key opens search under firefox

1 participant