Copy Adjacent Lines

Ctrl-Y and Ctrl-E pull from above and below.

Keys: Ctrl-Y, Ctrl-E

Ctrl-Y copies the character directly above the cursor; Ctrl-E copies the character directly below. Surprisingly handy for aligned text.

Two of Insert mode's most under-used keys: Ctrl-Y and Ctrl-E. Each one copies a single character from the line above or below the cursor โ€” at the same column.

Key Action
Ctrl-Y Copy character directly above
Ctrl-E Copy character directly below

Watch

See also: Inserting from a Register, Swap and Duplicate Lines