Skip to content
项目

renzorlive/vimmaster has 1,722 GitHub stars and 71 forks. GitHot measured +1 stars in 24 hours, +1 in 7 days, and +2 in 15 days. Last checked 2026-11-23 08:58 UTC. Last push 2026-07-16.

这些数字如何统计

可以做什么

  • 🎮 Interactive Learning: Learn Vim commands directly in a simulated editor environment.
  • 📚 JSON-Driven Engine: Every lesson is a self-contained JSON file, making it incredibly easy to add new content.
  • 🚀 Practice Arena: Test your speed and accuracy in time-limited challenges.
  • 📘 Cheat Mode: An easily accessible command reference to help you remember commands.

实测星标增长

24小时
+1
7天
+1
15天
+2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

关于

VIM Master:一款浏览器游戏,通过简短且专注的关卡教授 Vim 的核心移动操作和编辑命令。

学习资源

README.md

原文

VIM Master

Learn Vim by playing. VIM Master is an interactive, browser-based game designed to teach Vim commands through short, focused lessons, progressive difficulty, and gamification.

Tests License: MIT Version

VIM Master Screenshot

✨ Features

  • 🎮 Interactive Learning: Learn Vim commands directly in a simulated editor environment.
  • 🏆 Gamification: Earn XP, build Combos, and unlock achievements and badges as you progress.
  • 📚 JSON-Driven Engine: Every lesson is a self-contained JSON file, making it incredibly easy to add new content.
  • 🚀 Practice Arena: Test your speed and accuracy in time-limited challenges.
  • 📘 Cheat Mode: An easily accessible command reference to help you remember commands.
  • 💾 Local Saves: Your progress, badges, and XP are automatically saved locally and can be imported/exported.

🚀 Quick Start

To run the game locally:

git clone https://github.com/renzorlive/vimmaster.git
cd vimmaster
npm install
npm run check
npm start

The game will be served locally via Vite (usually on http://localhost:5173/).


🏗️ Architecture

Starting with V3, VIM Master uses a Content Platform Architecture:

  • Engine as API: The game engine purely consumes content. It does not hardcode lessons.
  • One JSON = One Lesson: All content lives in content/lessons/*.json.
  • Content Provider: During build time (npm run build:content), JSON lessons are compiled into a single optimized source of truth (content/index.json) that the engine reads.

Project Structure

content/     # JSON lessons and schema definitions
docs/        # Community guides, architecture, and principles
js/          # Game engine, progress system, and UI components
tests/       # Contract, Golden, and Regression test suites

🛡️ Testing & Validation

VIM Master takes stability seriously. We employ a robust 4-pillar testing strategy:

  • Contract Suite (npm run test:contract): Validates all JSON lessons against strict schemas. It ensures no missing fields, valid metadata, and valid keys.
  • Golden Suite (npm run test:golden): E2E validation. It runs the exact keypresses from a lesson's solution array through the actual game engine and validates that the final editor state matches the expected targetContent.
  • Regression Suite: Protects against previously resolved bugs (e.g. Save Corruption TD-0001) re-emerging.
  • Unit Suite: Verifies internal state logic and helper functions.

Run all tests at once using:

npm run check

🤝 Contributing

Community First! Our architecture is designed specifically so that anyone can contribute new lessons without needing to touch or understand the game engine code.

Want to add a new lesson for a Vim command? Just copy an existing JSON file, edit the text, and open a PR! 👉 Read our full guide: Contributing a Lesson


🗺️ Roadmap

  • ✅ V2 Architecture Freeze: JSON-driven content migration complete.
  • ✅ Community Alpha: Testing suites, documentation, and gamification (XP/Combo) integrated.
  • 🚧 V3 UX Polish: First-Time User Experience (FTUE), minimalist UI, and reduced cognitive load.
  • 🔜 Public Beta: Launch and community lesson gathering.

📄 License

MIT License

Buy Me A Coffee

探索相关项目

加载中…