Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Zed 4 min read Announcement easyNovice

Split Diffs are Here

Zed v0.224 makes split diffs the default, built on its multibuffer model where all changed files form one editable surface. The left side reuses the old file version with deleted hunks highlighted, keeping its syntax tree and line numbers. The block map inserts spacers that keep both sides aligned on every keystroke. Profiling large diffs produced broader wins than the split-diff-specific work: block map fixes also sped up project search, and switching from fork/exec to posix_spawn on macOS reduced main-thread hangs from git blame and other external processes.

Related posts

  • Native Git support in Zed

    Zed easyNovice

    Zed v0.177 adds native Git support built around speed, Git-native semantics and keyboard-first workflows: a Git Panel for staging and restoring, cmd-enter commits with optional LLM-written messages and automatic Co-Authored-By lines, a hunk-level Diff View like `git add -p`, and fetch/pull/push from the command palette. Under the hood, the text buffer was rebuilt so deleted hunks are part of the editor's coordinate system rather than rendered blocks, enabling search and selection inside them. Staged and unstaged hunks are interleaved by computing a "diff-of-diffs" (buffer vs HEAD compared with index vs HEAD), so focus isn't lost when staging. Conflict resolution, line-level staging and history visualization are planned next.

  • This Week at Zed Industries: #1

    Zed mediumAdept

    Zed grew out of Xray, the experimental editor Nathan Sobo and Antonio worked on at GitHub in 2018, and this weekly update recaps the path from there to a company and a private alpha. It also describes the team's first "quality week" of bug fixing, which they plan to repeat every six weeks. Multibuffer performance in project-wide search got much faster after two fixes. Rope fingerprints, computed with the monoid-homomorphic bromberg_sl2 hash and aggregated through a B-tree, are now stored as HashMatrix values instead of allocated Strings. Excerpts are also built on a background thread and streamed into the multibuffer so the main thread no longer blocks.

  • Zed Weekly: #23

    Zed mediumAdept

    Zed's weekly team update covers a fix for typing lag with autocomplete. Completion re-filtering was offloaded to background workers, but a higher-level callsite blocked the UI thread waiting on that future, so the re-filter now runs without blocking and races the re-request to the language server. Other items: UI components migrated to the latest GPUI with stories now living beside each component, GPUI 2's stateless element model requiring IDs on stateful elements such as click handlers, prettier and Vue.js integration in the next preview, Universal Links, channel permissions and a notifications panel.

  • Zed Weekly: #21

    Zed easyNovice

    Weekly team update from the Zed editor team. It covers initial Prettier integration and better LSP server log display, a storybook CLI for rendering new GPUI UI components in isolation, and Vim mode's command palette shipping to preview. Julia explains why vertical cursor movement drifts with mixed scripts, multi-codepoint graphemes like ZWJ emoji, and proportional fonts, and proposes tracking an intended pixel x-position resolved like a mouse click, which costs more compute. Other items include ClickHouse dashboard query optimization (minutes to under 10 seconds), the Semantic Index shipping to stable, cross-project following for channel notes, and CRDT Lamport-timestamp-based change notifications.

  • We Have to Start Over: From Atom to Zed

    Zed easyNovice

    Zed's co-founders explain why they abandoned Atom's Electron/JavaScript stack and rebuilt a code editor in Rust: JavaScript's pointer-chasing arrays, uncontrollable GC pauses, and the costly JS/C++ boundary for multithreading made performance work feel like fighting the platform. Rust's ownership model pushed them toward a copy-on-write B-tree (SumTree) rope built on Arc, letting snapshots move to background threads in O(1), and high-level Rust code cut a find-all-matches operation from 1s to 4ms. GPU rendering with custom shaders and signed distance fields came out of necessity after Pathfinder proved too slow. Owning the stack (Tree-sitter, GPUI) lets them change anything, such as adding WASM language extensions, at the cost of building more themselves.

The quest for software engineering knowledge.

Look:
Layout: