mirror of
https://github.com/microsoft/edit.git
synced 2025-07-03 14:33:22 +00:00
We all edit.
.cargo | ||
.github/workflows | ||
.pipelines | ||
.vscode | ||
assets | ||
benches | ||
src | ||
tools/grapheme-table-gen | ||
.gitignore | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
rust-toolchain.toml | ||
rustfmt.toml | ||
SECURITY.md |
Edit
A simple editor for simple needs.
This editor pays homage to the classic MS-DOS Editor, but with a modern interface and input controls similar to VS Code. The goal is to provide an accessible editor that even users largely unfamiliar with terminals can easily use.
Installation
- Download the latest release from our releases page
- Extract the archive
- Copy the
edit
binary to a directory in yourPATH
- You may delete any other files in the archive if you don't need them
WinGet (Windows)
- Open up a terminal of your choice and run the following command:
winget install Microsoft.Edit
edit
will be automatically added to yourPATH
. If typingedit
doesn't work, open a new terminal.
Build Instructions
- Install Rust
- Install the nightly toolchain:
rustup install nightly
- Alternatively, set the environment variable
RUSTC_BOOTSTRAP=1
- Alternatively, set the environment variable
- Clone the repository
- For a release build, run:
cargo build --config .cargo/release.toml --release