yahvim

Crates.ioyahvim
lib.rsyahvim
version1.5.25
created_at2025-01-25 15:03:00.965767+00
updated_at2025-01-25 15:06:15.684721+00
descriptionA lightweight terminal-based released on 15/01/2025 text editor.
homepagehttps://github.com/yaya2devops/yahvi
repositoryhttps://github.com/yaya2devops/yahvim
max_upload_size
id1530655
size16,062
Yahya Abulhaj (yaya2devops)

documentation

https://docs.rs/yahvim

README

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 file
  • yahwq: Save and quit
  • yahq: Quit without saving
  • yahq!: Force quit

Keybindings

  • Arrow keys: Navigate
  • y: Enter Insert mode
  • ESC: Return to Normal mode
  • :: Enter Command mode
  • q: Quit in Normal mode

License

MIT License

Commit count: 0

cargo fmt