Microsoft’s Edit on Windows is a new command line text editor

Microsoft has introduced a new command-line text editor, Edit on Windows, during its Build conference, marking a significant enhancement in the developer experience. This innovative tool allows developers to edit files directly within the command prompt by simply typing “edit,” streamlining their workflow without the need to switch between applications.

Edit on Windows is an open-source initiative designed to provide a lightweight solution for developers. With a size of less than 250KB, it offers a range of features that include:

  • Key bindings for all menu options
  • Support for opening multiple files and switching between them using the ctrl + P shortcut
  • Find and replace functionality, including match case and regular expression support
  • Word wrapping capabilities

Christopher Nguyen, the product manager of Windows Terminal, shared insights into the motivation behind this development. He noted, “What motivated us to build Edit was the need for a default CLI text editor in 64-bit versions of Windows.” Unlike 32-bit versions, which come with the MS-DOS Edit, 64-bit versions lacked an integrated command-line editor. This gap prompted Microsoft to create a user-friendly alternative that avoids the complexities associated with modal editors like vim, which often leave new users puzzled about exiting the program.

Nguyen emphasized the importance of a modeless editor, stating, “We wanted a built-in default editor that didn’t require users to remember different modes of operation.” Edit on Windows is set to be available through the Windows Insider program in the upcoming months, with further details accessible via Microsoft’s GitHub repository.

Enhancements to Developer Tools

In addition to the new text editor, Microsoft is rebranding its Windows Dev Home to Advanced Windows Settings. This update aims to simplify the customization of the Windows experience for developers. Pavan Davuluri, Windows chief, explained that Advanced Windows Settings will integrate additional toggles directly into the main Windows 11 settings interface, enhancing accessibility. Notably, it will include features such as enabling File Explorer with GitHub control details, further streamlining the development process.

Winsage
Microsoft’s Edit on Windows is a new command line text editor