Your leader key for Xcode.

XCommander is an app I'm building in the open. It stands between your keyboard and Xcode, with a discoverable, mnemonic command tree for its menus, panes, navigators and buffers. Press ⌥↩, pause, and it shows you what comes next.

Alpha 0.1.0 · free & open source · macOS 14+, Xcode 27+

One take, in real time: XCommander driving Xcode on its own source code. Watch the full demo (51 s)

// MARK: - What it does

A layer on top, not a replacement.

The goal: XCommander is to Xcode what Spacemacs is to Emacs. One leader key, then a discoverable tree of everything the editor can do. A first version of each of these works on my Mac today. None of it is finished, and all of it may change.

⌥↩

Which-key, for Xcode

Press the leader key and a panel shows what comes next. Commands you never knew Xcode had, one mnemonic away.

⌥↩:

Every menu command

All of Xcode’s several hundred menu items, read live through Accessibility and fuzzy-searchable in one palette.

⌥↩w

Panes & buffers

Split, focus, resize and send buffers between editors without reaching for the trackpad.

⌘⇧⌥

Zero switching cost

Keep Xcode, its debugger and its Vim mode. XCommander is a layer on top; it never asks you to leave.

// MARK: - README

README.md

XCommander

A new way to do development in Xcode...

XCommander is a native macOS app, at a very early stage, that brings the Doom Emacs and Spacemacs experience to Xcode. The idea is to make Xcode keyboard driven in a nice/configurable way.

It's in its infancy, and it isn't stable. It works on my Mac and I use it every day, but expect bugs and keys that change. There's an early alpha to download, signed and notarized, or you can build it from source. I'm building the tool I want for myself, discovering what macOS and Xcode allow along the way, and I'm doing it in the open. XCommander is free and open source: the code is on GitHub, from the very first commits.

XCommander is written for one specific person: the Swift hacker and Xcode user who wants an experience similar to Emacs or Vim, and who still likes to craft his own code by hand and seeks flow and keyboard productivity.

XCommander icon as I designed it in Inkscape!

XCommander is still in the very early stages of development, and I'm taking all my time to figure things out, one thing at a time. Expect the plan to change as I learn. If you want to follow its updates consider following its making in the weblog, or subscribing to the RSS feed to get the latest updates.

// MARK: - Lineage

Two histories, one merge.

Hackers taught editors to speak in keystrokes. NeXT and Apple built the IDE. XCommander is where the branches meet.

  1. 1a7e5c0 1976 EMACS is born at the MIT AI LabThe editor as a programmable environment, driven by key chords.
  2. 5f1b2d9 1976 Bill Joy writes vi at BerkeleyModal editing: keystrokes as a composable language.
  3. 9c0d31e 1989 NeXTSTEP ships Interface BuilderThe toolchain Xcode descends from, running on a black cube.
  4. b3e7a42 2001 Project Builder arrives on Mac OS XNeXT’s IDE crosses over to the Mac.
  5. c0de103 2003 Xcode 1.0Apple renames and rebuilds its IDE for a new decade.
  6. e5a0c14 2014 Spacemacs puts everything behind SPCA mnemonic, leader-key command tree. Discoverable by design.
  7. 7d4f915 2015 which-key shows what comes nextPress a prefix, see the keys that follow.
  8. 8a1dead 2016 Xcode 8 closes the plugin doorIn-process plugins end; Source Editor Extensions only see text.
  9. HEAD 2026 WIP: XCommanderA which-key layer for Xcode, driven from outside through the keyboard and the Accessibility API. Being built in the open.