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

Proposal: Add option to make repeated presses of shortcut key cycle through windows instead of close application #36

Open
TheoMcGinley opened this issue Jan 26, 2021 · 3 comments

Comments

@TheoMcGinley
Copy link

TheoMcGinley commented Jan 26, 2021

Assume I have e.g F3 as a shortcut to open Safari.

Current behaviour:

  • Press F3, Safari opens front window
  • Press F3 again, Safari hides
  • Press F3 again, Safari opens

Proposed behaviour:

  • Press F3, Safari opens front window
  • Press F3 again, Safari opens next window (how cmd+` currently works)
  • Press F3 again, Safari opens next window

This would greatly improve workflows where multiple windows of the same application are used, such as multiple IDE project windows or multiple separate Safari instances.

As some people may prefer the current opening and closing behaviour, this new behaviour would be enabled under a checkbox in settings.


If you would accept the PR, I would be happy to write the changes myself, though I will need some advice in how to set up the project for development and which parts of the code are responsible for the window management.

Let me know what you think! :)

@kenji21
Copy link
Contributor

kenji21 commented Jan 26, 2021

Hi,

App doesn't closes, it simply "hide", like when you use cmd + H shortcut

@TheoMcGinley
Copy link
Author

Sorry, bad wording on my part, I've updated the above. Is this a feature you would consider merging into master if developed?

@olavfosse
Copy link

olavfosse commented Apr 3, 2022

👍

I came here to request the same feature. I could try implementing it next weekend, but I don't know much swift / objc / macOS APIs so no promises 😄. Would you be willing to merge if I get it working @gbammc?

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

No branches or pull requests

3 participants