Cross-platform Rust library for invoking & waiting for the system text editor
Last updated Apr 26, 2026
62
Stars
15
Forks
7
Issues
0
Stars/day
Attention Score
9
Language breakdown
Rust 100.0%
โธ Files
click to expand
README
edit
edit is a Rust library that lets you open and edit something in a text editor, regardless of platform. (Think git commit.)
It works on Windows, Mac, and Linux, and knows about lots of different text editors to fall back upon in case standard environment variables such as VISUAL and EDITOR aren't set.
let template = "Fill in the blank: Hello, _!"; let edited = edit::edit(template)?; println!("after editing: '{}'", edited); // after editing: 'Fill in the blank: Hello, world!'
๐ More in this category