Designing And Writing Vim From Scratch In 3 Weeks

Daniel Wang
Apr 24, 2018 · 7 min read

A Brief History on Vim

Example of Vim

The Stuff We Learned Building Vm

Writing a hello world program in vm!

Design Principles


A great design leads to a great experience
Commands shown: A, (5) i, I


Design Patterns

Design Pattern-ism

Data Structures For Text

Gap Buffer

Piece Table

We Aren’t Done Yet…

Daniel Wang

Written by

CS ‘21 @uwaterloo. Passionate learner and software engineer.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade