A fast, native macOS Window Switcher & Window Manager built from scratch in Swift, SwiftUI, AppKit & ScreenCaptureKit — replacing both AltTab and Rectangle in one zero-dependency app with live previews, instant fuzzy search, drag-to-edge snapping, 23 global tiling shortcuts, per-app exceptions, and 25 languages.
macOS's built-in ⌘ + Tab only switches between applications, and native window tiling lacks customizable shortcuts, thirds, quarters, gaps, and multi-display controls. CmdTab combines a blazing-fast window switcher with a full Rectangle-class window manager — completely free and open source.
- Every Window, Not Just Every App. Displays normal, minimized, hidden, fullscreen, and other-Space windows with clear status badges (
Space 2,Minimized,Hidden,Fullscreen), and automatically unminimizes windows when switching to them. - 3 Visual Styles & Auto-Sizing Grid. Choose between Thumbnails (live previews via
ScreenCaptureKit), App Icons (Dock-like bar), and Titles (compact list). Size modes includeSmall,Medium,Large, andAuto— large previews when 2–4 windows are open, compact grid when 10+ windows are open. - Full Rectangle-Class Window Snapping (v2.1).
- 23+ Global Snapping Shortcuts — Halves, Quarters, Thirds, Two-Thirds, Maximize, Almost Maximize, Maximize Height, Smaller/Larger, Center, Multi-Step Snap Undo / Redo (
Restore⌃⌥⌫+Redo Snap, up to 10 steps), and Next/Previous Display. - Keep-on-Side / Side-Panel Mode (
⌃⌥P) — Dock a window to a persistent side panel and toggle it on demand. - Drag-to-Screen-Edge Snap Areas — Drag any window to any of 8 configurable edges/corners with a smooth translucent glass Snap Footprint preview, optional haptic feedback, and automatic unsnap/restore when dragging a snapped window away.
- Per-App Auto-Snap Rules — Automatically snap newly launched or focused windows of specific apps to your preferred layout.
- Fine-Grained Controls — Configurable window gaps (
0–32 px), repeated command cycling (1/2 → 2/3 → 1/3or move across displays), cursor warping across monitors, double-click titlebar to maximize/restore, and Stage Manager left margin.
- 23+ Global Snapping Shortcuts — Halves, Quarters, Thirds, Two-Thirds, Maximize, Almost Maximize, Maximize Height, Smaller/Larger, Center, Multi-Step Snap Undo / Redo (
- Saved Window Layouts & Workspace Profiles (v2.1). Capture your current multi-window, multi-display layout as a named workspace profile, restore it with a single click, global shortcut, or menu bar submenu, and automatically launch missing apps.
- Live Fuzzy Search & Quick-Filter Chips. Press
Space(or trigger⌥ + Tab) to fuzzy-filter across window titles and app names with highlighted character matches and live match counts. Filter instantly with Quick-Filter Chips (All/Current Space/Minimized/Pinned, cycled viaV/⇧+V/⌘+V/⌘+⇧+V). - Multi-Window Selection & Native Context Menu. Select multiple windows (
⌘ + ClickorS) for Batch Tiling, Minimize All, or Close All. Right-click any window for a native context menu (Focus, Focus App Only, Pin, Snap, Move to Next Display, Minimize Others, Copy Title / Bundle ID, Reveal in Finder). - Multiple Independent Switcher Shortcuts. Default presets include
⌘ + Tab(All Windows),⌘ + ⌥ + ⇥(Active App Only), and⌥ + Tab(Instant Window Search) — each with its own Space/Screen/App filters, sort order, grouping, style override, and release behavior (Focus,Hold,Search). - Live Menu Bar Hub &
cmdtab://URL Scheme. Access Quick Snap, Workspaces, and Open Windows directly from the menu bar, or automate CmdTab viacmdtab://URLs (switcher,snap/<action>,workspace/<name>,settings/<section>,focus-only). - Power Extras Built In. Quick-Jump (
1–9), Window Pinning (P), Focus App Only (O) & Minimize Other Windows, Hover & Keyboard Actions (W,M,F,H,Q), Per-App Exceptions (Finder, Screen Sharing, RDP, Parallels, VirtualBox, TeamViewer, Citrix), standard macOS⌘+W/⌘+M/⌘+H/ Edit menu shortcuts in Settings, and JSON Settings Export/Import.
| Window Snapping & Drag-to-Edge Footprint | Live Fuzzy Search |
|---|---|
![]() |
![]() |
| Key | Action |
|---|---|
⌘ + ⇥ / ⌘ + ⇧ + ⇥ |
Open switcher & cycle forward / backward |
⌘ + ⌥ + ⇥ |
Switch windows of the active app only |
⌥ + ⇥ |
Open directly in Live Search mode |
1 – 9 |
Quick-jump directly to window 1–9 |
Space |
Toggle Live Fuzzy Search |
V / ⇧ + V |
Cycle Quick-Filter Chips (All / Current Space / Minimized / Pinned) |
⌘ + V / ⌘ + ⇧ + V |
Cycle Quick-Filter Chips (in Search mode) |
S / ⌘ + Click |
Toggle Multi-Window Selection (for Batch Tiling / Minimize All / Close All) |
↑ ↓ ← → |
Navigate grid or list |
↩ |
Focus (and unminimize) selected window |
O |
Focus App Only (minimize other apps' windows) |
⎋ |
Cancel without switching |
W / M / F / H / Q |
Close / Minimize / Fullscreen / Hide App / Quit App |
P |
Pin / unpin window to the front |
L / R / X |
Snap selected window Left / Right / Maximize |
| Key | Action |
|---|---|
⌃ ⌥ ← / ⌃ ⌥ → |
Left Half / Right Half (repeat cycles 1/2 → 2/3 → 1/3) |
⌃ ⌥ ↑ / ⌃ ⌥ ↓ |
Top Half / Bottom Half |
⌃ ⌥ U / I / J / K |
Top Left / Top Right / Bottom Left / Bottom Right |
⌃ ⌥ D / F / G |
First Third / Center Third / Last Third |
⌃ ⌥ E / T |
First Two Thirds / Last Two Thirds |
⌃ ⌥ ↩ / ⌃ ⌥ ⇧ ↑ |
Maximize / Maximize Height |
⌃ ⌥ S / ⌃ ⌥ L |
Make Smaller / Make Larger |
⌃ ⌥ C / ⌃ ⌥ ⌫ |
Center / Restore Original Size (Multi-Step Undo; Redo Snap via menu/shortcuts) |
⌃ ⌥ P |
Toggle Keep-on-Side / Side-Panel Mode |
⌃ ⌥ ⌘ ← / ⌃ ⌥ ⌘ → |
Previous Display / Next Display |
Trigger CmdTab actions from Raycast, Alfred, Shortcuts, or Terminal:
cmdtab://switcher— Open the window switchercmdtab://snap/<action>— Snap the focused window (e.g.,left-half,maximize,undo,redo)cmdtab://workspace/<name>— Restore a saved workspace profilecmdtab://settings/<section>— Open Settings at a specific sectioncmdtab://focus-only— Focus the active app and minimize other windows
CmdTab includes full native .lproj localizations and live in-app language switching (no restart required):
English · Deutsch · Español · Français · Italiano · Português · Nederlands · Polski · Čeština · Magyar · Română · Svenska · Türkçe · Ελληνικά · Русский · Українська · Български · Hrvatski · Српски · Slovenščina · Shqip · 日本語 · 한국어 · 简体中文 · 繁體中文
- Download the latest
CmdTab-v2.1.0-macOS-arm64.zipfrom Releases. - Unzip and move
CmdTab.appinto/Applications. - Launch
CmdTab.appand grant Accessibility (for global shortcuts, window switching & snapping) and Screen Recording (for live thumbnails) in System Settings → Privacy & Security.
Quit CmdTab from the menu bar, then remove the app bundle:
rm -rf /Applications/CmdTab.appRequires macOS 14+ and Swift Command Line Tools (swift --version):
git clone https://github.com/leonsuv/cmdtab.git
cd cmdtab
./scripts/build_app.sh release
open build/CmdTab.appTip: To keep macOS Accessibility & Screen Recording permissions across local rebuilds,
build_app.shautomatically signs with a local"CmdTab Local Signing"keychain certificate if present.
MIT — see LICENSE.



