Skip to content

Instantly share code, notes, and snippets.

View tambling's full-sized avatar
✌️
Yes hello

Dean Tambling tambling

✌️
Yes hello
  • GitHub Staff
  • Portland, OR
View GitHub Profile
@antonkratz
antonkratz / akvimnotes.md
Last active February 16, 2024 07:07
The essence of how copying and pasting works in vim.

Copy and paste with VIM across instances, SSH-borders, different clipboards

Use registers for copying and pasting WITHIN one vim instance

Vim saves text in registers. Selecting text and pressing y copies (yanks) text into a register, and pressing p pastes (puts) it.

You can see the register contents with :reg.

Named registers: there are named registers a-z.