Crates.io | ksi |
lib.rs | ksi |
version | 0.0.1 |
source | src |
created_at | 2023-10-29 12:41:47.08307 |
updated_at | 2023-10-29 12:41:47.08307 |
description | A ed-like text editor |
homepage | https://github.com/johngitahi/ksi |
repository | https://github.com/johngitahi/ksi |
max_upload_size | |
id | 1017522 |
size | 11,891 |
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)
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.cargo install ksi
ksi
text editor, specifying a text file as a command line argument:ksi file.TXT
Use the above commands to interact with the file.
After making changes, save the changes back to the original file by quitting the editor with q
command.
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.
This project is released under the AGPL-3.0. Please read the LICENSE file for the full license text and terms.