| Crates.io | nanorust |
| lib.rs | nanorust |
| version | 0.1.0 |
| created_at | 2025-10-11 14:01:00.508749+00 |
| updated_at | 2025-10-11 14:01:00.508749+00 |
| description | A terminal-based text editor written in Rust, inspired by GNU nano |
| homepage | https://github.com/Supakornn/nanorust |
| repository | https://github.com/Supakornn/nanorust |
| max_upload_size | |
| id | 1878241 |
| size | 179,296 |
A terminal-based text editor written in Rust, inspired by GNU nano. Simple, fast, and easy to use.
cargo install nanorust
git clone https://github.com/Supakornn/nanorust.git
cd nanorust
cargo build --release
cargo install --path .
# Open a file
nanorust filename.txt
# With options
nanorust -l -i filename.txt # Line numbers + auto-indent
# View mode (read-only)
nanorust -v filename.txt
-l, --linenumbers: Show line numbers-i, --autoindent: Enable auto-indent-v, --view: Read-only mode-w, --nowrap: Disable line wrapping| Key | Action |
|---|---|
Ctrl+O |
Save file |
Ctrl+X |
Exit |
Ctrl+W |
Search |
Ctrl+\ |
Replace |
Ctrl+K |
Cut line |
Ctrl+U |
Paste |
Alt+U |
Undo |
Alt+E |
Redo |
Ctrl+G |
Help |
Press Ctrl+G in the editor to see all keybindings.
Contributions are welcome! Feel free to:
MIT License - see LICENSE file for details
Inspired by GNU nano and built with Rust for performance and safety.