# Long-range line duplication

> Episode of [Vimcasts](https://podistic.com/podcast/vimcasts.md) · Published January 9, 2013 · Duration 6:31

- **Listen on Podistic:** https://podistic.com/episode/long-range-line-duplication
- **Video:** http://media.vimcasts.org/videos/40/line_duplication.m4v (video/x-m4v)

## About this episode

When writing code, we can often save time by duplicating a line then changing one or two parts of that line to make it suit our purposes. In this episode, we’ll compare a few techniques for duplicating lines, and we’ll see that the `:copy` Ex command is well suited to this task.
