Barcode is a modal, terminal-based code editor written in Rust.
- Modal Editing: If you've used Vim, you'll feel at home. It’s got Normal, Insert, and Command modes.
- Tree-sitter Support: Fast and accurate syntax highlighting that actually understands your code's structure.
- Split Windows: Open multiple files and tile them however you want.
- Lightweight: It starts up instantly because it doesn't have 500 MB of telemetry attached.
- Configurable: Tweak your colors, line numbers, and behavior in
config.toml.
You'll need a working Rust toolchain. Then just:
git clone https://github.com/yourusername/barcode-rs
cd barcode-rs
cargo run --releaseTo open specific files, just pass them as arguments:
cargo run -- src/main.rs src/lib.rsi: Enter Insert mode to actually type things.Esc: Back to Normal mode.:: Enter Command mode.:w: Save the current file.:q: Quit the current buffer.:wq: Save and quit.:n: Create a new empty buffer.:e <path>: Open a file.
Check out CONFIG.md to see Configuration options.