# Zed v0.158.1 - Release & Upgrade Intelligence
- **Product:** Zed (https://zed.dev)
- **Version:** v0.158.1
- **Released:** Oct 23, 2024
- **Impact Score:** 6/10
- **Breaking Changes:** Source flagged
- **Canonical Analysis:** https://changelogs.us/zed/updates/v0.158.1/

## Executive Summary (TL;DR)
Zed v0.158.1 introduces targeted formatting actions, terminal vi-mode support, and improved language server precedence alongside critical bug fixes. The release also includes a minor configuration naming change for cursor shapes.

## Breaking Changes & Deprecations
- Breaking Changes and Notices - Renamed one `cursor_shape` from `underscore` to `underline` ([#19028](https://github.com/zed-industries/zed/pull/19028)).

## New Features
- Added editor: format selections action to format only currently selected text via primary language server
- Added editor: reload file command and Vim equivalent commands (:e[dit] and :e[dit]!)
- Added basic support for Alacritty's vi mode in the built-in terminal via ctrl-shift-space
- Added z keybindings for scrolling in Vim mode

## Improvements
- Improved performance on macOS when working with very long lines
- Switched to using system locale in the terminal instead of forcing en_US.UTF-8
- Improved language auto-detection and shebang handling for TypeScript, JavaScript, and shell scripts
- Improved Vim mode's whole word match using search bar settings

## Bug Fixes
- Fixed a bug where language servers from PATH were prioritized over direnv
- Fixed Astro LSP interactions
- Fixed a bug where Prettier attempted to install too frequently
- Fixed Supermaven crashing on deleting non-ASCII text
