Microsoft Edit (Windows-Linux) with syntax highlighting

Microsoft released last year the Edit as open-source software. It is a small, cross-platform text editor that features VS Code-like keyboard shortcuts and mouse support, handles LF and CRLF line breaks, and allows multiple files to be opened. The clean terminal user interface (TUI) is extremely easy to use.screenshot 20260918 122143

Edit v2.0.0 was released earlier this year, but the unofficial snap package for Linux (msedit, maintained by Canonical's Aaron Prisk) was only updated on September 14th, and it was because of this update that I learned that a new version had been released.

See more articles from iGuRu.gr when you search for news on Google.

Let's see what the new version brings.

Syntax highlighting in Edit v2.0.0 is the most significant addition. The developers created a specially designed, lightweight syntax highlighting tool, which adds only 40Kb to the executable file, but supports over a dozen popular programming languages, including C, Rust, and JavaScript.

According to the release notes, it processes text at speeds of over 100MB/s, offering extremely fast response for those who regularly work with large files.

Other improvements from the change log:

  • Syntax highlighting (#753, #776, #777, #624, #795)
    The whole LSH stack: compiler, runtime, integration, and initial language definitions. See above.
    For path matching, we've written our own glob matcher (#743).
  • Preliminary support for settings.json (#742, #779)
    For now, this is limited to files.associations, which lets you map file paths and extensions to languages ​​for syntax highlighting. I expect v3 to be centered around configurability.
  • Find & Replace now supports capture groups (#222) (thanks viyic!)
    You can use $1, $2, etc. in the replacement string when regex mode is on.
  • You can move lines with Alt+Up/Down (#230) (thanks Julio Ramirez (@juemrami)!)
  • Tab and Shift+Tab indent and unindent multiple lines at once (#245) (thanks Brian (@liltrendi)!)
  • Whitespace inside selections is now visible (#397) (thanks pheonick!)
  • Pressing Ctrl+L selects the entire current line (#541) (thanks recently-avoid-dyin!)
  • Opening a directory via the CLI drops you into the file picker (#577) (thanks four-poetic-drew!)
  • Unsaved work is indicated with a ● in the terminal title (#523) (thanks adamjoer!)
  • The file picker now uses natural sort for filenames (#763)
    file2.txt sorts before file10.txt, as it should.

One of the requests users have had since the tool's launch was for its configuration. This release brings initial support via the `settings.json` file, although it is currently limited to the `files.associations` setting.

Edit is not superior to Vim or Emacs, but that is appropriate; as Edit is aimed at users who want to work with files in a terminal, but are not familiar with modal editing models and do not wish to do so.

Download the tool

https://github.com/microsoft/edit/releases/tag/v2.0.0


Google preferences

Leave a Comment

Your email address will not be published. Required fields are marked *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).