Microsoft Introduces Edit on Windows, A New Command-Line Text Editor

Microsoft has unveiled a new command-line text editor named ‘Edit on Windows’ at its recent Build conference. This tool is open-source and allows developers to edit text files directly within the command line interface, eliminating the need to switch to other applications. The editor is designed to be more user-friendly compared to existing editors such as vim. It is accessible by typing ‘edit’ in a command prompt and is lightweight, with a size of less than 25-0KB. The editor offers features like multiple file support via ctrl + P shortcuts, find and replace functionality, and regular expression support. The initiative was motivated by the need for a default CLI text editor in 64-bit Windows versions, as 32-bit versions already ship with MS-DOS Edit. Microsoft also aimed to avoid the common issue of exiting vim by creating a modeless editor. The tool is expected to be available to Windows Insiders in the coming months.

According to Christopher Nguyen, product manager of Windows Terminal, the development of ‘Edit on Windows’ was driven by the necessity to provide a default CLI text editor for 64-bit Windows versions. The tool is intended to enhance the productivity of developers by allowing them to edit files directly in the command line. Microsoft’s move is expected to resonate with the developer community, particularly those who prefer working in command-line environments. The tool is also designed to address the challenges posed by traditional editors like vim, which often frustrate new users due to their complex command structures. The editor’s modeless design is a significant departure from conventional command-line editors, offering a more intuitive user experience. Microsoft’s decision to release the tool to Windows Insiders first suggests a strategy to gather feedback and refine the product before a wider release.

The introduction of ‘Edit on Windows’ is part of Microsoft’s ongoing efforts to improve the developer experience on its platforms. As the tech industry continues to evolve, the demand for efficient and user-friendly tools is growing. Microsoft’s open-source approach to this tool further aligns with its strategy to foster collaboration and innovation within the developer community. The availability of such tools is likely to impact the competitive landscape of software development tools, as developers can choose from a variety of options tailored to their preferences and workflows. As the tool becomes more widely adopted, it could influence the direction of future software development practices and tools, potentially setting new standards in the industry.