Expand description
sued - shut up editor, a vector-oriented line editor by Arsalan “Aeri” Kazmi (AeriaVelocity) (on Codeberg)
sued is a stateless vector-oriented command-based text editor written in Rust, with focus on speed, simplicity, ease of use and staying the hell out of your way. It’s inspired by more contemporary editors, such as the ed family (ed, em, ex, vi, Vim, Neovim, etc.).
Official website | Codeberg repo
For info on sued as an editor, read README.md. For info on sued as a library, read README.lib.md.
sued is free software licensed under the Apache License, Version 2.0.
For full licensing terms, read the “Legal” section of README.md.
Modules§
- command
- Contains the
Commandstruct, which is used to define and execute modular commands in sued. - commands
- exit_
status - This module contains the
ExitStatusenum, which is used to represent the exit status of asuedcommand. - file_
buffer - This module contains the
FileBufferstruct and associated implementations, which is used to represent the file buffer’s contents and current file path. - helper
- Contains every function used by sued, including editing commands and helper
functions, using the Command struct implememnted in
command.rs - tilde_
range - Defines Tilde Range Syntax parsing.
Structs§
- Editor
State - Encapsulates the file buffer and command registry into one state struct.
Functions§
- process_
command - A placeholder command to accomodate people using the old
process_commandfunction. - run_
sued_ command - Runs a
suedcommand from a string, withis_replset tofalse. - vecify_
command - Converts a command into a Vec<&str> that
run_commandcan operate on.