Minimal Vim‑inspired terminal text editor written in C++.
- ⚡ Modal editing (Normal / Insert modes)
- 🧭 Real‑time cursor navigation
- 📊 Status bar with current mode display
- 📄 Line‑based editing engine
- 🎨 ANSI color support for the status bar
- 🖥️ Automatic terminal size detection
git clone https://github.com/Zibgame/Zim.git
cd Zim
make./zim| Key | Action |
|---|---|
h |
Move cursor left |
j |
Move cursor down |
k |
Move cursor up |
l |
Move cursor right |
i |
Enter Insert mode |
Esc |
Return to Normal mode |
Enter |
Create a new line |
Backspace |
Delete character |
q |
Quit the editor |
- Status bar colors can be changed using ANSI color codes in
draw_status_bar() - Future support planned for a
.zimrcconfiguration file - Designed to allow custom themes and editor behavior
- Build a lightweight modal editor similar to Vim
- Understand terminal rendering and ANSI escape sequences
- Implement a minimal line‑based text editing engine
Pull requests are welcome.
Please keep the code:
- clean
- readable
- consistent with the existing style
MIT License
⭐ If you like the project, consider giving it a star on GitHub!
