Cette page est affichée en anglais. Une traduction française est en cours.
SkillsMay 11, 2026·2 min de lecture

Microsoft Edit — Rust-Based Terminal Text Editor

A modern terminal text editor built in Rust by Microsoft, designed to be fast, lightweight, and easy to use from any command line.

Prêt pour agents

Installation avec revue préalable

Cet actif nécessite une revue. Le prompt copié demande un dry-run, affiche les écritures, puis continue seulement après confirmation.

Needs Confirmation · 66/100Policy : confirmer
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
Microsoft Edit Overview
Commande avec revue préalable
npx -y tokrepo@latest install 07044426-4d12-11f1-9bc6-00163e2b0d79 --target codex

Dry-run d'abord, confirmez les écritures, puis lancez cette commande.

Introduction

Microsoft Edit is a terminal text editor written in Rust that brings a familiar, intuitive editing experience to the command line. It targets the gap between nano's simplicity and Vim's complexity, offering a modern editor that works out of the box with no configuration.

What Microsoft Edit Does

  • Opens and edits text files in the terminal with syntax highlighting
  • Provides standard keyboard shortcuts familiar to GUI editor users
  • Supports mouse interaction including click-to-position and scroll
  • Handles large files efficiently with lazy line loading
  • Runs on Windows, macOS, and Linux terminals

Architecture Overview

Built in Rust using a custom terminal rendering engine, Edit performs direct GPU-style character-cell rendering to maintain high frame rates. The text buffer uses a piece table data structure for efficient insertions and deletions. The editor is compiled to a single binary with no runtime dependencies.

Self-Hosting & Configuration

  • Install via cargo or download pre-built binaries from GitHub releases
  • Runs on any modern terminal emulator supporting ANSI escape codes
  • Configuration file is optional; sensible defaults work immediately
  • Customize key bindings and color themes via a TOML config file
  • Supports integration with shell environments via the EDITOR variable

Key Features

  • Single static binary with zero dependencies
  • Instant startup time even on large files
  • Familiar Ctrl+S/Ctrl+Z/Ctrl+C key bindings
  • Built-in syntax highlighting for common languages
  • Mouse support for selection, scrolling, and cursor placement

Comparison with Similar Tools

  • Nano — simpler but fewer features and no syntax highlighting by default
  • Vim/Neovim — powerful but requires learning modal editing
  • Micro — similar goals but written in Go; Edit is Rust-native
  • Helix — modal editor inspired by Kakoune; different editing paradigm
  • VS Code terminal — requires a full GUI environment

FAQ

Q: Is this related to the classic MS-DOS EDIT command? A: It is a spiritual successor for the modern terminal era, built from scratch in Rust.

Q: Does it support plugins? A: The current focus is on a reliable core editing experience. Plugin support may come in later releases.

Q: Can I use it over SSH? A: Yes. It runs in any standard terminal, including remote SSH sessions.

Q: What platforms are supported? A: Windows, macOS, and Linux. Any terminal with basic ANSI support works.

Sources

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires