View on GitHub

notes

A collection of my TIL notes and commonplace book entries.

Copying text across vim instances

Copied text is stored in registers in vim.

(More about registers: Vim registers: The basics and beyond)

The * and + registers are used for the system clipboard. They can also be used to copy text across vim instances.

Copy to one of these from one vim instance: " * y

Paste from it in another vim instance: " * p