Edit is now open source

https://news.ycombinator.com/rss Hits: 5
Summary

What is Edit? Edit is a new command-line text editor in Windows. Edit is open source, so you can build the code or install the latest version from GitHub! This CLI text editor will be available to preview in the Windows Insider Program in the coming months. After that, it will ship as part of Windows 11! How to use Edit Open Edit by running edit in the command line or running edit <your-file-name>. With this, you will be able to edit files directly in the command line without context switching. What are Edit’s features? Edit is still in an early stage, but it has several features out of the box. Here are some highlights! Lightweight Edit is a small, lightweight text editor. It is less than 250kB, which allows it to keep a small footprint in the Windows 11 image. Mouse Mode Support As a modeless editor with a Text User Interface (TUI), all the menu options in Edit have keybindings (which you can see next to the menu options). Open Multiple Files You can open multiple files in Edit and switch between them with Ctrl+P (or by clicking the file list on the lower-right). Find & Replace You can find and replace text with Ctrl+R or select Edit > Replace in the TUI menu. There is also Match Case and Regular Expression support as well. Word Wrap Edit supports word wrapping. To use Word Wrap, you can use Alt+Z or select View > Word Wrap on the TUI menu. Why build another CLI editor? What motivated us to build Edit was the need for a default CLI text editor in 64-bit versions of Windows. 32-bit versions of Windows ship with the MS-DOS Edit or, but 64-bit versions do not have a CLI editor installed inbox. From there, we narrowed down our options… Many of you are probably familiar with the “How do I exit vim?” meme. While it is relatively simple to learn the magic exit incantation, it’s certainly not a coincidence that this often turns up as a stumbling block for new and old programmers. Because we wanted to avoid this for a built-in default editor, we decided that we wanted a mo...

First seen: 2025-05-19 17:55

Last seen: 2025-05-19 21:56