Scribble
An experimental terminal text-editor written in Rust.
Scribble is an experimental terminal text-editor written in Rust. This project is being used as a way of improving my Rust skills and playing around with new ideas and concepts. It's also fun to re-invent the wheel, isn't it?
Features
- Simple file editing (open, insert, delete, save).
- Simple searching (does not highlight results).
- Syntax highlighting using SublimeText grammar definitions (comes with plenty of languages out of the box).
Wishlist
- Edit multiple files at once (multiple buffers).
- Add support for copying and pasting text.
- Add convenient shortcuts for duplicating lines, removing lines, etc.
- Create a file tree / folder panel.
Usage
Being by cloning this repository:
git clone [email protected]:ryangjchandler/scribble.git
Move into the directory where your file is located:
cd example-folder/
Open the file you want to edit using the following command:
cargo run -- src/NameOfFile.php
Scribble will open that file and highlight it accordingly.
Keyboard Shortcuts
Ctrl + S
-> SaveCtrl + Q
-> QuitCtrl + F
-> Search / FindCtrl + D
-> Duplicate line