Skip to content
Shuai YUAN edited this page May 29, 2015 · 1 revision

Tip 2: Don't Repeat Yourself

Return to the top: <>

Example: append a semicolon at the end of a series of lines.

The most naive way:

A better way using the dot command:

Reduce extraneous movement:

Two for the Price of One

| Compound Command | Equivalent in Longhand | | `C` | `c$` | | `s` | `cl` | | `S` | `^C` | | `I` | `^i` | | `A` | `$a` | | `o` | `A` | | `O` | `ko` |

Table of Contents


Clone this wiki locally