Strengthening Your vim Skills

G. Wade Johnson

vim Philosophy

Learn the features that help you to edit, rather than write. You will spend much more time changing text than you spend writing it for the first time. vim is optimized for editing.

Repetition

The . is vim's most basic power tool. It repeats the last command that changed the file. Part of being effective in vim is learning how to construct commands quickly that can be re-used with the ..

A macro is a recorded set of vim commands that can be replayed at a later time. A map, on the other hand, is a way to define a new hot-key combination.

Refresher: Basic vim Movement

notes

Refresher: Edit Command Patterns

notes

Refresher: Edit Commands

notes

More vim Movement

Lowercase marks are in current buffer. Uppercase can reference other buffers.

Text Objects

notes

Text Objects: examples

notes

Registers

notes

Special Registers

notes

Using Registers

notes

Diff Mode

notes

Macros

notes

Ex Commands

notes

More Ex Commands

notes

Buffer Manipulation

notes

Maps

notes

Windows

notes

Resources

notes