#vim #cli

app yahvim

A lightweight terminal-based released on 15/01/2025 text editor

2 releases (1 stable)

new 1.5.25 Jan 25, 2025
0.1.0 Jan 25, 2025

#62 in Text editors

Download history 155/week @ 2025-01-21

155 downloads per month

MIT license

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 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

Dependencies

~1.6–8MB
~69K SLoC