Add keyboard shortcut to move current tab to new window#1
Draft
Copilot wants to merge 2 commits into
Draft
Conversation
Co-authored-by: Neo11Neo <101670176+Neo11Neo@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] I would like to add the function to open the current tab in a new window. This can already be done via the context menu move tab > move to new window but it cant be invoked by a keyboard shortcut
Add keyboard shortcut to move current tab to new window
Sep 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a keyboard shortcut (
Ctrl+Shift+N/Cmd+Shift+N) to move the current tab to a new window, addressing the functionality gap where this action was only available via the context menu "move tab > move to new window" option.Changes
cmd_zenMoveTabToNewWindowthat safely moves the current tab to a new windowCtrl+Shift+N(Windows/Linux) orCmd+Shift+N(Mac) with automatic migration for existing usersTechnical Implementation
The implementation leverages Firefox's existing
gBrowser.replaceTabWithWindow()method for reliability and follows all established Zen browser patterns:The keyboard shortcut is automatically added to existing installations via migration version 12, ensuring all users can benefit from this feature without manual configuration.
User Experience
Users can now quickly move tabs to new windows using a keyboard shortcut, improving workflow efficiency for power users who prefer keyboard navigation over context menus. The shortcut is discoverable and customizable through the standard preferences interface.
Fixes functionality request where users wanted keyboard access to the existing "move to new window" feature that was previously only accessible via right-click context menu.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.