Skip to content

Commit 24fa891

Browse files
[Hold until July 2025 WIP release] Add Edit docs (MicrosoftDocs#5341)
* initial commit * Add other files * resolve warnings * Update index.md * Add Edit to toc.yml * Resolve older version of windows note * Update prereq * Remove WIP, add winget install --------- Co-authored-by: Matt Wojciakowski <[email protected]>
1 parent 0a0755c commit 24fa891

File tree

4 files changed

+47
-0
lines changed

4 files changed

+47
-0
lines changed

hub/dev-environment/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,10 @@ items:
874874
href: ../powertoys/hosts-file-editor.md
875875
- name: Registry Preview
876876
href: ../powertoys/registry-preview.md
877+
- name: Sudo for Windows
878+
href: ../sudo/index.md
879+
- name: Edit command line tool
880+
href: ../edit/index.md
877881
- name: Windows Package Manager
878882
items:
879883
- name: Overview

hub/docfx.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
"dev-drive/**": "https://github.com/microsoft/Windows-Dev-Performance/issues",
125125
"dev-environment/**": "https://github.com/microsoft/Windows-Dev-Performance/issues",
126126
"dev-home/**": "https://github.com/microsoft/Windows-Dev-Performance/issues",
127+
"edit/**": "https://github.com/microsoft/edit/",
127128
"package-manager/**": "https://github.com/microsoft/winget-cli/issues",
128129
"powertoys/**": "https://github.com/microsoft/PowerToys/issues",
129130
"python/**": "https://github.com/microsoft/vscode-python",
@@ -233,6 +234,7 @@
233234
"dev-environment/**": "mattwojo",
234235
"dev-environment/rust/**": "stevewhims",
235236
"dev-home/**": "mattwojo",
237+
"edit/**": "mattwojo",
236238
"package-manager/**": "mattwojo",
237239
"powertoys/**": "alvinashcraft",
238240
"python/**": "mattwojo",
@@ -331,6 +333,7 @@
331333
"dev-environment/**": "mattwoj",
332334
"dev-environment/rust/**": "stwhi",
333335
"dev-home/**": "mattwoj",
336+
"edit/**": "mattwoj",
334337
"package-manager/**": "mattwoj",
335338
"powertoys/**": "aashcraft",
336339
"python/**": "mattwoj",

hub/edit/index.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: Edit command line text editor
3+
description: Learn how to use Edit, a command-line text editor, in Windows.
4+
ms.topic: article
5+
ms.date: 06/24/2025
6+
---
7+
8+
# Edit command line tool
9+
10+
**Edit** is a lightweight command-line text editor in Windows 11.
11+
12+
## How to use Edit
13+
14+
Edit will be included in future builds of Windows 11. In the meantime, you can install the latest version of the Edit command line tool using this [winget command](../package-manager/winget/index.md): `winget install Microsoft.Edit`. If you are using an older version of Windows, you can use the Edit command line tool by [downloading the release from GitHub](https://github.com/microsoft/edit).
15+
16+
To open the Edit command line tool, enter: `edit` in the command line or run `edit <your-file-name>`. With this, you will be able to edit files directly in the command line without context switching.
17+
18+
![Screenshot of the Edit text editor](../images/edit.png)
19+
20+
## Edit Features
21+
22+
Edit has several features out of the box.
23+
24+
- **Mouse-Mode Support**: Edit is a modeless editor with a Text User Interface (TUI). All the menu options in Edit also comes with preconfigured keybindings.
25+
26+
- **Find & Replace**: You can find and replace text with <kbd>Ctrl+F</kbd> or select Edit > Find in the TUI menu. There is also Match Case, Whole Word, and Regular Expression support as well.
27+
28+
- **Word Wrap**: You can use Word Wrap with <kbd>Alt+Z</kbd> or select View > Word Wrap in the TUI menu.
29+
30+
## FAQ
31+
32+
### Why build another command line text editor?
33+
34+
The need for a default CLI text editor in 64-bit versions of Windows motivated us to build Edit. We choose to build a modeless editor to provide a low barrier of entry for new users.
35+
36+
Because many existing modeless editors have no first-party support for Windows or are too big to bundle with every version of the OS, we decided to build Edit from scratch.
37+
38+
## Edit open source repository
39+
40+
Edit is open source and welcomes your contributions and feedback. You can find the source code for Edit on [GitHub](https://github.com/microsoft/edit).

hub/images/edit.png

31.1 KB
Loading

0 commit comments

Comments
 (0)