Skip to content

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

Zed 4 min read Announcement easyNovice

Native Git support in Zed

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.

Assumes: Git staging area

Related posts

  • Zed Weekly: #24

    Zed mediumAdept

    Weekly roundup from the Zed editor team covering a range of fixes and features. Gitignore handling now stops at the first .gitignore whose sibling is a .git directory, which fixes setups with a dotfiles repo in $HOME. Up/down cursor movement now uses the text layout engine's output instead of counting UTF-8 bytes, because code points and grapheme clusters still break on font fallback, double-width characters and proportional fonts. Other items include guest participants in calls, a Copilot keybind collision with typographic quotes, Tailwind autocomplete for more languages, a Vim-mode toggle command, remote terminal sharing work, and a "Retrieve Context" button that feeds semantic-index results to the inline assistant.

  • Split Diffs are Here

    Zed easyNovice

    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.

  • This Week at Zed Industries: #8

    Zed easyNovice

    Zed's weekly team update covers work on the AI assistant panel (multi-cursor, message splitting, saved conversations), voice collaboration via GPUI, and inlay hint latency and caching. Performance fixes include lazily loading gitignored and out-of-project symlinked directories to cut memory, CPU and collaboration sync costs, and only updating the mouse cursor style when it changes, which removes an expensive per-frame cursor rasterization in the immediate-mode GPUI. The team also started work on an embedding and indexing engine for semantic navigation, and is considering moving GPUI from Flutter-style specialized elements to an HTML/CSS-like single element with runtime styling to shorten Rust compile feedback loops.

  • Zed Weekly: #28

    Zed mediumAdept

    Zed is rewriting its editor as Zed2 in three phases (runnable core editing, productivity features like collaboration, terminal and Vim mode, then flagship features like Assistant, Copilot and Chat), aiming for a preview by end of 2023 and open-sourcing shortly after Zed2 supersedes Zed1. Team updates cover porting core UI such as popovers, autocomplete menus and breadcrumbs. The UI component work introduces a shared `ButtonLike` base for `Button` and `IconButton` and Rust traits like `Selectable` that concrete components delegate to, keeping APIs and styling consistent. Other updates include typescript-language-server, eslint and prettier fixes, plus an idea for searching gitignored directories in the file finder.

  • 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.

The quest for software engineering knowledge.

Look:
Layout: