For getting comfortable at the terminal

3 chapters · 9 lessons

Vim Introduction

Beginner

A free course on Vim, the editor that opens on every server you SSH into. Learn to move, edit, and get out again, all in your browser.

This course continues from Terminal Introduction

About this course

Vim is on every server you SSH into. It is also what opens when you run `git commit` without `-m`. You can avoid it for a while, but not forever.

This course starts by permanently solving the "I cannot get out" problem in lesson one. From there it covers motion, editing, search and replace, visual mode, and macros across three chapters and nine lessons. Each lesson maps to one complete skill, so by the end your hands know what to do.

Every exercise is graded on the state you reach, not the keys you press. If you land on the right line, `3G`, `jjj`, and `/pattern` are all correct. There is never only one right way to do something in Vim.

Sample Lessons

Skills you'll learn

Thinking in Modes

Understand normal, insert, visual, and command-line mode, and move between them freely with Esc as your anchor.

The Grammar of Motion and Editing

Learn to combine operators with motions so you compose edits instead of memorizing commands.

Finishing Repetitive Work in One Go

Use search and replace, visual mode block editing, and macros to finish edits that would be painful by hand.

Who this course is for

Ever Got Stuck Inside Vim

The very first lesson hands you the way out. No more panic.

Need to Edit Files on a Server

When Vim is the only editor on the box, you will know enough to get the job done.

Curious About That Screen `git commit` Opens

Learn what it is, how to write in it, and how to close it.

Syllabus

3 chapters · 9 lessons

1Open, Save, and Quit
// READY?

BEGIN YOUR
JOURNEY

Join thousands of developers who've mastered the terminal. Your first lesson awaits.

Get Started →