Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add actions for Cycling between Zed Windows (workspace::Activate{Next,Prev}Window) #22740

Open
1 task done
notpeter opened this issue Jan 6, 2025 · 0 comments
Open
1 task done
Labels
enhancement [core label] keymap / key binding Feedback for keyboard shortcuts, key mapping, etc windows workspace Feedback for workspace management, layout, interactions, etc

Comments

@notpeter
Copy link
Member

notpeter commented Jan 6, 2025

Check for existing issues

  • Completed

Describe the feature

Add a Zed action to support for cycling through multiple open Zed Windows (next/previous)

  • workspace::ActivateNextWindow
  • workspace::ActivatePrevWindow

The is normally handled by the OS, (e.g. US keyboards) and can go both directions (prev/next)

  • MacOS handles this natively: e.g. cmd-` and cmd-~
  • Linux KDE: alt-` and alt-~

But that means it is not possible for Zed to support custom keybinds for cycling amongst Zed windows, e.g. ctrl-x 5 o to match emacs. Or to support such behavior on Windows, which I lacks an OS shortcut, but where some apps (maybe vscode?) implement alt-` themselves.

Originally reported by @rosstimson here:

Zed Version and System Specs

N/A

If applicable, add mockups / screenshots to help present your vision of the feature

No response

@notpeter notpeter added enhancement [core label] triage Maintainer needs to classify the issue admin read Pending admin review labels Jan 6, 2025
@notpeter notpeter changed the title Add workspace::ActivateNextWindow / workspace::ActivatePrevWindow Add actions for Cycling between Zed Windows (workspace::Activate{Next,Prev}Window) Jan 6, 2025
@notpeter notpeter added workspace Feedback for workspace management, layout, interactions, etc windows keymap / key binding Feedback for keyboard shortcuts, key mapping, etc and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement [core label] keymap / key binding Feedback for keyboard shortcuts, key mapping, etc windows workspace Feedback for workspace management, layout, interactions, etc
Projects
None yet
Development

No branches or pull requests

1 participant