{"id":23407027,"url":"https://github.com/aeriavelocity/sued","last_synced_at":"2025-04-11T22:40:28.596Z","repository":{"id":174415528,"uuid":"591371307","full_name":"AeriaVelocity/sued","owner":"AeriaVelocity","description":"the shut up editor - a line editor with friendly syntax","archived":false,"fork":false,"pushed_at":"2024-10-10T14:51:07.000Z","size":333,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T18:41:01.771Z","etag":null,"topics":["ed","editor","rust","text-editor","wtfpl"],"latest_commit_sha":null,"homepage":"https://aeriavelocity.github.io/sued/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AeriaVelocity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-01-20T15:40:25.000Z","updated_at":"2024-10-10T14:51:20.000Z","dependencies_parsed_at":"2024-03-31T11:31:31.050Z","dependency_job_id":null,"html_url":"https://github.com/AeriaVelocity/sued","commit_stats":null,"previous_names":["that1m8head/sued","aeriavelocity/sued"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AeriaVelocity%2Fsued","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AeriaVelocity%2Fsued/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AeriaVelocity%2Fsued/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AeriaVelocity%2Fsued/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AeriaVelocity","download_url":"https://codeload.github.com/AeriaVelocity/sued/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248493007,"owners_count":21113159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ed","editor","rust","text-editor","wtfpl"],"created_at":"2024-12-22T14:17:03.842Z","updated_at":"2025-04-11T22:40:28.576Z","avatar_url":"https://github.com/AeriaVelocity.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sued - shut up editor\n\nsued is a stateless vector-oriented command-based text editor written in Rust,\nwith focus on speed, simplicity, ease of use and staying the hell out of your\nway. It's inspired by more contemporary editors, such as the ed family (ed, em,\nex, vi, Vim, Neovim, etc.).\n\nNo, it's not \"super user editor\", or an editor that will sue you. It's \"soo-ed\",\n\"shut up editor\".\n\nTo be clear, it's a text editor that works on Rust's `Vec` type. To be clearer,\nit's a text editor that works on lines and isn't graphical, like you're probably\nused to.\n\n~~Yes, I know ed doesn't use vectors, shut up~~\n\n```sued\nsued v0.13.2 - put that mouse AWAY\ntype ~ for commands, otherwise just start typing\nsued can even run inside a readme!\njk this is just a copied-and-pasted terminal session\n~show\n1│sued can even run inside a readme!\n2│jk this is just a copied-and-pasted terminal session\n~sub 2 jk/just kidding\n~show\n1│sued can even run inside a readme!\n2│just kidding this is just a copied-and-pasted terminal session\n~clear\nprint(\"sued is fricking awesome \" * 5)\n~runhere python\nrunning C:\\Users\\sonic\\AppData\\Local\\Programs\\Python\\Python311\\python.exe\nsued is fricking awesome sued is fricking awesome sued is fricking awesome sued is fricking awesome sued is fricking awesome \nfinished running python\n# I didn't even need to save the file to do that\n~show\n1│print(\"sued is fricking awesome \" * 5)\n2│# I didn't even need to save the file to do that\n~search save\nline 2: # I didn't even need to save the file to do that\n~save damn-thats-cool.py\nsaved to damn-thats-cool.py\n~exit\n```\n\nWritten in Rust, because frick you, that's why.\n\n## Obtaining\n\nFirst of all, you need Cargo. If you don't have Cargo, [install Rust.](https://www.rust-lang.org/learn/get-started)\nIf you don't want to install Rust, frick off and use a different editor.\n\nRun\n\n```bash\ncargo install sued\n```\n\nand make sure that `~/.cargo/bin/` is in your PATH or you won't be able to run\nit.\n\n## Documentation\n\nsued's documentation is present [online](https://aeriavelocity.github.io/sued)\nin the form of a man page-like website.\n\nYou can also just read the source code yourself.\n\n## Accelerated\n\nsued is written in pure, idiomatic Rust.\n\nIts speed, as a compiled line editor, is pretty damn fast. The time between\nopening it up and getting some text edited is negligently small.\n\nYou can even run a compiler or an interpreter with a simple `~runhere`, without\neven the need to save your file.\n\nAnd it doesn't even take a second. As it should be.\n\n## Uncomplicated\n\nsued is much more user-friendly than ed - it's a modeless editor, so there's no\ncomplicated mode switching to keep in your head. You're always in insert mode.\n\nIt also uses a simple command syntax, with whole words, like `~save`, `~show`\nand `~open`, not single letters.\n\nIts error messages, despite being communicated concisely, are still informative\nand use colloquial language, so they're pretty easy to understand.\n\n## Efficient\n\nsued looks basic on the offset, but under the hood, it has support for regex\nreplacements, file searching, pretty-looking line numbers, and some other stuff.\n\nsued's command set consists of stuff like `delete`, `indent`, `insert`, `open`,\n`run`, `runhere`, `save`, `search`, `show`, `substitute`, `swap`, and so on.\n\nFor the rest of the commands, as well as information on what these commands do,\nrun `~help` inside sued or check out the\n[documentation](https://aeriavelocity.github.io/sued).\n\nAnd sued leverages [linefeed](https://github.com/murarth/linefeed) for its\ncommand line input. Meaning it supports GNU Readline commands and functionality.\nYou can do some Emacs-style line navigation, like `C-a`, `C-e`, `C-f`, `C-b`,\nwhatever you want, it'll work. Probably.\n\n## Integrated\n\nMost text editors will boast stuff like VCS, LSP, debug tool, compiler,\ninterpreter and linter integration. sued, however, is not one of those.\n\nInstead of integrating itself with anything, sued provides the `~run` and\n`~runhere` commands to run a shell command as if you ran it in your terminal,\nwithout ever having to leave sued, and when the command is done, you're\nimmediately back to editing.\n\nAnd `~runhere` is special - it will have sued create a temporary file and run\nthe chosen command with that temporary file as an argument, and then when that\nexternal program is done operating on the temporary file, it's read and\nsynchronised with the original buffer contents.\n\nWriting a Python script? `~runhere python`. Want to check your Markdown file\nis up to scratch? `~runhere markdownlint`. Need to hop to a more powerful\neditor whenever you need that power? `~runhere vim`. It's that simple.\n\n## No-nonsense\n\nsued is designed to not get in your way. Error messages are useful but brief.\n\nThey're not ed levels of brief, but they're still pretty brief.\n\nAnd there's no auto-save feature - your file is only saved when you enter the\n`~save` command.\n\n## Ubiquitous\n\nBeing a CLI app, you can run sued anywhere!\n\nIn your terminal, in VS Code, in Emacs, even inside Vim! And sued doesn't care\nwhat OS it runs under. Windows, macOS, GNU/Linux, BusyBox/Linux, other kinds of\nLinux, BSD, ChromeOS, Android, probably Xbox if you really wanted.\n\nIf it has a terminal, it can run sued.\n\nIt's been tested on Windows, Fedora and Android, and works great under all\nthree.\n\n## Free/Libre\n\nsued is free. You can get it for free, but it's also free.\n\nIt's released under the GNU General Public License version 3 or later, because\nfree software, hell yeah!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeriavelocity%2Fsued","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faeriavelocity%2Fsued","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeriavelocity%2Fsued/lists"}