1 unstable release

Uses old Rust 2015

0.0.1 Oct 29, 2023

#149 in #text-editors

Zlib license

7KB
102 lines

ksi - cli ed-like text editor

This is a simple command line text editor I have written in Rust. It allows you to view, edit, and save text files from the command line. (just as how ed works)

Usage

  • a command allows you to add text to the file you are editing.
  • n command displays all the contents of the file with line numbering.
  • d <line number> allows you to delete a specific text using their line number.
  • q quits the text editor.

Installing

  1. Build the binary using Cargo:
cargo install ksi
  1. Run the ksi text editor, specifying a text file as a command line argument:
ksi file.TXT
  1. Use the above commands to interact with the file.

  2. After making changes, save the changes back to the original file by quitting the editor with q command.

Dependencies

This project uses the colored crate for line number styling. It is in the Manifest file and will be installed by default when you build the binary.

License

This project is released under the AGPL-3.0. Please read the LICENSE file for the full license text and terms.

Author

  • John Gitahi

Dependencies

~0–10MB
~43K SLoC