Zed v0.224 ships split diff view as the new default, showing base code on the left and working copy on the right in synchronized scroll. Built on Zed's multibuffer architecture, the feature required solving two core challenges: keeping both sides vertically aligned across all changed files simultaneously, and maintaining performance at scale. Alignment is handled via a block map that inserts visual spacers between lines. Performance profiling uncovered broader wins including block map inefficiencies that sped up project search, and a macOS process spawning fix (switching from fork/exec to posix_spawn) that reduced main thread hangs from git blame and other external processes. Users can revert to unified diffs via the Diff View Style setting.
Post #2139
10.3K

Split Diffs are Here — Zed's Blog
- ❤ 6
- 👍 3