2 releases (1 stable)
new 1.5.25 | Jan 25, 2025 |
---|---|
0.1.0 | Jan 25, 2025 |
#62 in Text editors
155 downloads per month
11KB
203 lines
YahVim
YahVim is a lightweight, terminal-based text editor inspired by Vim, built with Rust.
Features
- Modal editing (Normal, Insert, Command modes)
- Basic file editing and saving
- Vim-like keybindings
- Minimal and fast
Installation
cargo install yahvim
Usage
yahvim filename.txt
Modes
- Normal Mode: Default mode, press
q
to quit - Insert Mode: Press
y
to enter,ESC
to exit - Command Mode: Press
:
to enter commands
Commands
yahw
: Save fileyahwq
: Save and quityahq
: Quit without savingyahq!
: Force quit
Keybindings
- Arrow keys: Navigate
y
: Enter Insert modeESC
: Return to Normal mode:
: Enter Command modeq
: Quit in Normal mode
License
MIT License
Dependencies
~1.6–8MB
~69K SLoC