Vim masterclass

A session at Strange Loop 2012

Sunday 23rd September, 2012

12:30pm to 3:00pm (CST)

Learn to wield the awesome text editing power of Vim in this hands on workshop. We’ll drill through a series of exercises that are designed to teach the best practices for working with Vim’s core functionality. You’ll learn to slice and dice text at the speed of thought.

There are more ways of killing a cat than choking it with cream – Charles Kingsley

In Vim, we can duplicate a line from normal mode, insert mode, or with an Ex command. But which is best? In this masterclass, we’ll work through a series of exercises, finding at least two solutions to every problem. In response to the question “which is best?” we’ll see that the answer is always: “it depends”.

Vim is optimized for repetition. We’ll study a few examples of how to use the dot command to repeat the last change. Then we’ll develop a strategy for composing repeatable changes, and meet the optimal Dot Formula: a two step solution with a thousand uses. We’ll also study best practices for creating robust macros, and learn how to execute them either in series or in parallel.

To level the playing field, we’ll be using bare Vim (not vi – we’re not savages). You’ll be asked to leave your .vimrc at the door.

About the speaker

This person is speaking at this event.
Drew Neil

The voice of @vimcasts. Author of https://pragprog.com/book/dnvim2/practical-vim-second-edition bio from Twitter

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 12:30pm3:00pm CST

Date Sun 23rd September 2012

Short URL


View the schedule



Books by speaker

  • Practical Vim

See something wrong?

Report an issue with this session