Skip to content

Keep workspace shortcuts active when terminal pane is focused#12902

Open
SkyNotSilent wants to merge 1 commit into
warpdotdev:masterfrom
SkyNotSilent:codex/fix-8187-keybindings-code-pane-focus
Open

Keep workspace shortcuts active when terminal pane is focused#12902
SkyNotSilent wants to merge 1 commit into
warpdotdev:masterfrom
SkyNotSilent:codex/fix-8187-keybindings-code-pane-focus

Conversation

@SkyNotSilent

Copy link
Copy Markdown

Summary

  • make Workspace_TextOpen depend on the focused pane being a code pane instead of any code pane existing in the active tab
  • add a regression test for split-pane tabs where a code pane exists but focus returns to a terminal pane

Closes #8187.

Testing

  • cargo fmt --check
  • git diff --check
  • ./script/format --check
  • PATH="/tmp/warp-fake-xcrun:$PATH" cargo test -p warp keymap_context_marks_text_open_only_for_focused_code_pane
  • PATH="/tmp/warp-fake-xcrun:$PATH" cargo check -p warp

Note: /tmp/warp-fake-xcrun only bypasses the missing local Xcode Metal shader compiler in this environment.

@cla-bot cla-bot Bot added the cla-signed label Jun 22, 2026
@github-actions github-actions Bot added the external-contributor Indicates that a PR has been opened by someone outside the Warp team. label Jun 22, 2026
@oz-for-oss

oz-for-oss Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

@SkyNotSilent

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@oz-for-oss oz-for-oss Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR changes Workspace_TextOpen so it is set only when the focused pane is a code pane, and adds a regression test for split-pane focus returning to a terminal pane.

Concerns

  • This is a user-facing keybinding behavior change, but the PR description does not include screenshots or a screen recording demonstrating the behavior end to end. For this user-facing change, please include screenshots or a short recording showing workspace shortcuts remain active when a terminal pane is focused and text-editor suppression returns when the code pane is focused.

Verdict

Found: 0 critical, 1 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed external-contributor Indicates that a PR has been opened by someone outside the Warp team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Right Menu shortcut to open keyboard shortcuts does not work after opening a file in Warp in a split pane.

1 participant