Zed v0.171.3 introduces enhanced Emacs-style mark mode, deepseek-r1 support, and refined window management alongside critical UX improvements. Users should note the replacement of the 'selection' keyboard context with 'selection_mode' which may require keybinding updates.
Improved keybinding precedence and parse error handling
Enhanced Python syntax highlighting
Added terminal scrollbar
Improved responsiveness with high diagnostic counts
🔧 Bug Fixes & Patches (4)
Fixed Vim mode % operator for multi-character brackets
Fixed broken symlinks in dev extensions
Fixed project entry renaming in remote development
Fixed missing task terminal output on Linux
❓ Frequently Asked Questions
Does Zed v0.171.3 contain breaking changes?
Yes, the 'selection' keyboard context has been replaced by 'selection_mode', which requires users to update custom keymaps referencing the old context.
What is the primary highlight of v0.171.3?
The release focuses on editor ergonomics, including new Emacs-style mark mode, advanced Vim operator support, and improved window management for power users.
How should teams prepare to upgrade to v0.171.3?
Teams should audit their keymap configurations for any dependency on the 'selection' context and test custom Vim or Emacs bindings to ensure compatibility with the new release.
📄 View Raw Release Notes (Original Developer Log)
# Enhancements
## General
- Added `editor: swap selection ends` action which swaps the cursor location from the beginning/end of a given selection ([#23428](https://github.com/zed-industries/zed/pull/23428)).
- Added `workspace: activate next window` and `workspace: activate previous window` actions for cycling between windows ([#23356](https://github.com/zed-industries/zed/pull/23356); thanks [0xtimsb](https://github.com/0xtimsb)).
- Added new command to move the focused panel to the next valid dock position - `workspace: move focused panel to next position` ([#23317](https://github.com/zed-industries/zed/pull/23317); thanks [dinocosta](https://github.com/dinocosta)).
- Added scrollbar to terminal ([#23256](https://github.com/zed-industries/zed/pull/23256); thanks [0xtimsb](https://github.com/0xtimsb)).
- Added auto-expand for directories on hover for a while during dragging ([#23080](https://github.com/zed-industries/zed/pull/23080); thanks [0xtimsb](https://github.com/0xtimsb)).
- Persisted font size changes made with actions to the user settings ([#23265](https://github.com/zed-industries/zed/pull/23265)).
- Tab switcher: Preserve selected position when tab is closed ([#22861](https://github.com/zed-industries/zed/pull/22861); thanks [aborg-dev](https://github.com/aborg-dev)).
- Improved which keybindings are selected for display. Now later entries within `bindings` will take precedence. The default keymaps have been updated accordingly ([#23378](https://github.com/zed-industries/zed/pull/23378)).
- Improved handling of errors within the user keymap file. Parse errors within context, keystrokes, or actions no longer prevent loading the key bindings that do parse ([#23113](https://github.com/zed-industries/zed/pull/23113)).
- Improved app responsiveness when encountering a large number of diagnostics ([#23122](https://github.com/zed-industries/zed/pull/23122)).
- The tooltip for inline git blame now waits a bit before disappearing when the mouse leaves it ([#22644](https://github.com/zed-industries/zed/pull/22644)).
- Linux: Added support for the Cut, Copy, Paste, Undo, Redo, New, Open, Save, and Find keys to the default keymap ([#22997](https://github.com/zed-industries/zed/pull/22997); thanks [Jules-Bertholet](https://github.com/Jules-Bertholet)).
- Linux: Added a way to use audio in collaboration rooms ([#23191](https://github.com/zed-industries/zed/pull/23191)).
## Language Support
- Improved syntax highlight for Python: new capture groups for `@function.arguments`, `@function.kwargs`, `@type.class.inheritance`, `@keyword.definition`, `@attribute.builtin` and `@type.builtin` ([#21454](https://github.com/zed-industries/zed/pull/21454); thanks [elisiariocouto](https://github.com/elisiariocouto)).
## AI
- Added deepseek-r1 to ollama context size defaults ([#23420](https://github.com/zed-industries/zed/pull/23420)).
- Switched from using `o1-preview` to `o1` for OpenAI provider ([#23425](https://github.com/zed-industries/zed/pull/23425)).
## Vim, Emacs, and Keybinds
- Added Emacs mark mode (`ctrl-space` / `ctrl-@` to set mark; `ctrl-x ctrl-x` to swap mark/cursor) ([#23297](https://github.com/zed-industries/zed/pull/23297)).
- Added Vim `:!`, `:<range>!` and `:r!` support ([#23169](https://github.com/zed-industries/zed/pull/23169)).
- Added Vim `!` operator in normal/visual mode ([#23169](https://github.com/zed-industries/zed/pull/23169)).
# Bug Fixes
- Restored o1-preview to OpenAI provider ([#23715](https://github.com/zed-industries/zed/pull/23715)).
- Fixed `%` in Vim mode not working correctly for multi-char brackets, such as `do/end` in Elixir or `\begin` and `\end` in LaTeX ([#23471](https://github.com/zed-industries/zed/pull/23471)).
- Fixed broken symlinks when installing dev extensions ([#22396](https://github.com/zed-industries/zed/pull/22396); thanks [Qkessler](https://github.com/Qkessler)).
- Fixed renaming project entries in remote development ([#23382](https://github.com/zed-industries/zed/pull/23382); thanks [aborg-dev](https://github.com/aborg-dev)).
- Fixed context menus staying open when action was triggered via keyboard ([#23380](https://github.com/zed-industries/zed/pull/23380)).
- Fixed project panel colors when one git repository is nested beneath another ([#23300](https://github.com/zed-industries/zed/pull/23300)).
- Fixed an issue where docks did not remember the active panel ([#23207](https://github.com/zed-industries/zed/pull/23207); thanks [AaronFeickert](https://github.com/AaronFeickert)).
- Fixed outline panel navigation in unnamed files ([#23273](https://github.com/zed-industries/zed/pull/23273)).
- Linux: Fixed missing task terminal output for short-running commands ([#23085](https://github.com/zed-industries/zed/pull/23085); thanks [aborg-dev](https://github.com/aborg-dev)).
- Fixed a crash that occurred when adding a new file or directory to the first folded directory ([#23217](https://github.com/zed-industries/zed/pull/23217); thanks [0xtimsb](https://github.com/0xtimsb)).
- Fixed `editor: copy path` not work in ssh remote ([#23235](https://github.com/zed-industries/zed/pull/23235); thanks [CharlesChen0823](https://github.com/CharlesChen0823)).
- Fixed active line number highlight ([#23266](https://github.com/zed-industries/zed/pull/23266)).
- Fixed the "Matches multiple schemas when only one must validate" warning for the `assistant` setting ([#23190](https://github.com/zed-industries/zed/pull/23190)).
- Fixed inlay hints handling for the same position ([#23156](https://github.com/zed-industries/zed/pull/23156)).
## Breaking changes
- `selection` keyboard context has been replaced with `selection_mode` ([#23297](https://github.com/zed-industries/zed/pull/23297)).