Microsoft's open-source command-line text editor Edit last year has been updated to version 2.0.0, which adds syntax highlighting and the Linux version is only 294KB.The biggest change in Edit 2.0 is the addition of syntax highlighting support, covering plain text, Diff, GitHub Commit/Rebase, Ignore, JavaScript, JSON, LSH, Markdown, PowerShell, Properties, Python, Shell, Script, XML and YAML, and supports automatic recognition.

This function only adds about 40KB in size. Click XML in the lower left corner to switch the highlighted language.

Other updates include: Find and replace supports regular capture groups ($1, etc.), new editing enhancements such as moving lines and batch indentation, the file list has been changed to natural sorting, preliminary support for the settings.json configuration file, and a large number of Unicode and cross-platform related issues have been fixed.

The core positioning of Edit is a lightweight terminal editor. Supporting mouse operations is its biggest feature. It is more friendly to users who are not familiar with Vim key positions.

Edit supports three platforms: Windows, Linux and macOS, but the size of the Windows version is close to 2MB, which is significantly different from the 294KB of the Linux version.