Chapter 10Copy and Paste
Vim’s cut, copy, and paste functionality differs from what you may be used to. For a start, the terminology is different, as we’ll see in Vim’s Terminology Versus the World. In Tip 60, we’ll learn how to use Vim’s delete, yank, and put commands for a handful of common cases.
Instead of dealing with a single system-wide clipboard, Vim provides a couple of dozen registers where we can store regions of text. We’ll learn more about Vim’s registers in Tip 61. Vim’s put command is smart about how it treats line-wise and character-wise text, as we’ll see in Tip 63. The put command has some interesting quirks when used from Visual mode, as we’ll discover in Tip 62.
Finally, in Tip 64, we’ll learn about how to use the ...