Skip to content

Conversation

@rimrul
Copy link
Member

@rimrul rimrul commented Jan 8, 2026

Add the newly re-written and open-source 'Edit' terminal-based text editor, inspired by the old MS-DOS Editor.

While the edit.exe program is also available as a simple zip download, or via the WinGet package manager for Windows, it is also distributed via Windows Update on Windows 11 24H2 and newer. Since that's the only system-wide install with a stable path, we currently only support that install method.

@rimrul rimrul requested a review from mjcheetham January 8, 2026 20:21
@rimrul
Copy link
Member Author

rimrul commented Jan 8, 2026

This is largely #617, but modified to use system edit. That saves us all the issues of a per-user install and having the version number in the path, but limits this option to Windows 11.

Add the newly re-written and open-source 'Edit' terminal-based text
editor, inspired by the old MS-DOS Editor.

While the edit.exe program is also available as a simple zip download, or
via the WinGet package manager for Windows, it is also distributed via
Windows Update on Windows 11 24H2 and newer. Since that's the only system-wide
install with a stable path, we currently only support that install method.

Signed-off-by: Matthew John Cheetham <[email protected]>
Signed-off-by: Matthias Aßhauer <[email protected]>
Copy link
Member

@mjcheetham mjcheetham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is also distributed via Windows Update on Windows 11 24H2 and newer.

Ah that's great! Makes it easier to reason about the availability of the editor this way.

Copy link
Member

@dscho dscho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically, we should probably set core.editor to the full path of edit.exe, but I guess this is good enough!

@dscho dscho merged commit 063a17e into git-for-windows:main Jan 9, 2026
7 checks passed
@dscho
Copy link
Member

dscho commented Jan 9, 2026

/add relnote feature Microsoft Edit can now be specified as Git editor.

github-actions bot pushed a commit that referenced this pull request Jan 9, 2026
[Microsoft Edit](https://learn.microsoft.com/en-us/windows/edit/) can
[now be
specified](#669) as
Git editor.

Signed-off-by: gitforwindowshelper[bot] <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants