Ditch graphical editing.
Put that mouse away.
Just shut up and edit.

sued is a minimalist line-based text editor written in Rust, inspired by classical Unix text editors, such as the ed text editor from the '70s, and its descendants, such as Vim, while in part modernising those editors with features from the text editors and IDEs of today.

crates.io for systems with Rust AppImage for systems without Rust

By using sued, you agree to its licence.

sued session with sued v0.23.0

Unix editing with superpowers

sued takes after classic Unix text editors, such as the ed and ex text editors, which work on lines rather than full bodies of text, while placing a twist on that style with modern features of its own.

Unix editing with superpowers1›# Determine whether the given argument is positive 2› 3›def is_positive(input: int) -> bool: 4› if input > 0: 5› return true 6› return false 7› 8›print(is_positive(5)) 9›print(is_positive(-3)) 10›print(is_positive(0)) 11›~runhere python running /usr/bin/python Traceback (most recent call last): File "/home/aeriavelocity/Documents/Projects/sued-website/de4ff198.temp", line 8, in print(is_positive(5)) ~~~~~~~~~~~^^^ File "/home/aeriavelocity/Documents/Projects/sued-website/de4ff198.temp", line 5, in is_positive return true ^^^^ NameError: name 'true' is not defined. Did you mean: 'True'? finished running python on file 11›~substitute 5 true/True substituted 'true' on line 5 with 'True' 11›~substitute 6 false/False substituted 'false' on line 6 with 'False' 11›~runhere python running /usr/bin/python True False False finished running python on file

Edit without distractions

From the startup sequence to the last line of code, sued intends on staying out of your way as much as possible.

Edit without distractions1›~open version.c opened version.c as text with 325 bytes 1›~show 1›#include <stdio.h> 2│int main() 3│{ 4│ 5│ if (__STDC_VERSION__ >= 201710L) 6│ printf("We are using C17!\n"); 7│ else if (__STDC_VERSION__ >= 201112L) 8│ printf("We are using C11!\n"); 9│ else if (__STDC_VERSION__ >= 199901L) 10│ printf("We are using C99!\n"); 11│ else 12│ printf("We are using C89/C90!\n"); 13│ 14│ return 0; 15│} 1›~substitute substitute what? try ~substitute [range] [pattern/replacement] 1›~point point where? try ~point [position], between 1 and 15 1›~point 0 invalid line 0

Lightweight and modular

Laptop user? Your battery will thank sued for not hogging its resources just to write up that essay, or edit that program, or even just display that log file. Yes, I did just directly lift that from the README. What are you gonna do, ~runhere cry?

Since sued is entirely command-line based and is small enough to literally be used as a library, it has an incredibly small footprint on your computer's resources.

And at the same time, it doesn't compromise on features or niceties. It combines the best of both worlds. A lot like Rust, actually. That's probably symbolic.

And if some of those features are too much? Only want the bare essentials? By default, sued is minimally compiled and only comes with the editor commands - you have to enable other features through feature flags (including the REPL).

A full list of those feature flags can be found in the Feature flags section of sued's README.

Lightweight and modular % cargo run --features=editor Compiling sued v0.23.0 (/home/aeriavelocity/Documents/Projects/sued) Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.98s Running `target/debug/sued` sued v0.23.0-devel (cfa9f36d) this is a development build, expect bugs and unexpected behaviour type ~cmds or ~help for commands, otherwise just start typing 1›We got editor!!!! 2›~show 1│We got editor!!!! 2›~exit % cargo run --features=editor,startup,history Compiling sued v0.23.0 (/home/aeriavelocity/Documents/Projects/sued) Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.36s Running `target/debug/sued` sued v0.23.0-devel (cfa9f36d) - what the frick is a config file this is a development build, expect bugs and unexpected behaviour type ~cmds or ~help for commands, otherwise just start typing loaded command history from /home/aeriavelocity/.config/sued/command-history.txt 1›Now we've got random startup messages 2›and command history! 3›~show 1│Now we've got random startup messages 2│and command history! 3›~exit

Pricing

sued is free, but you can choose to donate a bit of money to support me, if you want.

I'm currently only accepting payments through Patreon, since that's all I really know how to use at the moment.

Libre — £0/eternity

Not a typical offering - this refers to installing sued through Cargo.

Hobbyist — £0/eternity

For everyone, whether you're a typical user, a shell-dweller or a tinkerer.

Thanks Mate — £6 upfront

For people who feel pke buying me a free lunch.

Absolute Legend — £15 upfront or £8/month

For people who want to feel pke they're buying a real product.

Sugoi Magnimus Epicus — £45 upfront or £15/month

For people who have a bunch of money to throw into the bin.

Quite Sublime — £99 upfront

For people who at this point have failed to recognise the joke.

Employee 427 — Negotiable price

For people working in an enterprise environment and for some reason want sued.