asmvik / asmvik/yabai

Swap/Warp to recent window in the same space

Open
#2,235 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
29.6k
Forks
750
PR merge metrics
No merged PRs in 30d

Description

Yabai is an awesome tool and makes my mac much less painful. Thanks for writing this.

Currently, I've this mapping to warp to most recent window
```
alt - return : yabai -m window --swap recent; \
yabai -m window --focus recent
```

Although, when I switch to another space, come back to original space and hit this hotkey, it warps to a window in the space I switched from. Is there a way to restrict the `recent` to the space I am in ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the `yabai -m window --swap recent` and `yabai -m window --focus recent` entry points and how they select the recent window. Check how the current space is identified, then verify that both operations select only a window in that space while preserving the existing recent behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, macos
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.