A lightweight, terminal-based text editor built in Rust, featuring syntax highlighting for Rust code.
You can download the latest release here:
Extract the zip to a folder and export path
cd /{folder_name}
export PATH="/vector/bin:$PATH"
# now kill the terminal and open new terminal to reload .bashrc fileEnsure you have Rust and Cargo installed. If not, install them using [Rustup](https://rustup.rs/):
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shClone the repository and navigate to the project folder:
git clone https://github.com/xianglii-yao/vector.git
cd vectorRun the editor using Cargo:
cargo run -- releaseTo build an optimized release binary:
cargo build --release
./target/release/rust-text-editor- Open the editor in the terminal and start typing.
- Use common text navigation and editing shortcuts.
- Rust syntax highlighting is enabled automatically.
Ctrl + S- Save the fileCtrl + X- Quit the editorArrow Keys- Move cursorCtrl + F- Find textCtrl + Z- Undo last action
Contributions are welcome! Feel free to fork the repository, create a new branch, and submit a pull request.
For any questions or feedback, reach out via GitHub issues.

