sued - the text editor of all time, a post-classic line editor
sued [file]
sued is a line editor written in Rust by Arsalan Kazmi in the image of the standard text editor, ed.
sued is not nearly as powerful as its inspiration, but it matches it in the terseness department, while at the same time being quite a bit more user-friendly.
It's worth noting that sued is not that fully-featured, and is still in early stages of development, however, it's still very usable!
sued is available on crates.io - you can get it with cargo install sued.
Go to the GitHub page if you want to check out sued for yourself, or if you want to help me work on it.
None yet, lmao. Maybe in the future, but not now.
All commands start with ~. Run ~ by itself to see a list of commands.
~save [filename] - Write the file buffer to the provided file name.
~open [filename] - Find or create a file and open its contents up in sued.
~show - Display the buffer contents, complete with line numbers.
~replace [line] - Interactively replace the chosen line's contents in the buffer.
~delete [line] - Immediately remove a line from the buffer.
~run [command] - Run the provided executable or shell builtin. Real executables will be prioritised over shell builtins.
~exit - Quit sued, discarding the buffer contents.
~help - Display some information about sued onto the screen.
sued is actually more modelled after my earlier attempt at a line editor, Streakline. In Streakline, editing is straightforward. You open the editor and start typing. It used commands prefixed with ~, so sued does too.
It stands for "shut up editor". This can be read as "shut up and edit", "the shut up editor" or "Shut up, editor!"
"soo-ed". Don't pronounce it "sood". Otherwise people are going to think a text editor's going to go to court(!)
It's a play on words, since Helix describes itself as "post-modern" -- sued is "post-classic".
When an error occurs that sued can't recover from, it will print an error message as follows and quit:
stop: ERROR_CODE: 0xXXXXXXXX (0xXXXXXXXX,0xXXXXXXXX,0xXXXXXXXX)
The currently implemented error codes are as follows:
sued can't really do much in terms of "editing" text. It can write to files fine, but you can't exactly change file contents. Is that enough information on its limitations?
sued was, technically speaking, initially developed at the University of Hertfordshire (because I'm a student there), but practically speaking it wasn't developed under their watch or on their systems, or even for them. sued is a project by me, Arsalan Kazmi, first and foremost, no matter where it's worked on from, and UH holds no copyright over it.
Yes.