1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [p (paste)](<https://delaparra-services.nl/knowledge-hub/p-paste>)

  

Category: Keyboard shortcuts 

# p (paste)

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is p (paste)?

 

p (paste): Vim: paste whatever is in the register after the cursor. In Vim, ` p ` pastes the content of the default register after the cursor, and ` P ` pastes it before. If you yanked or deleted a whole line, ` p ` pastes it on the line below. Vim's registers are more flexible than one clipboard. Every delete also goes into a register, which can surprise you: deleting a line after copying something replaces what you were about to paste. The register ` "0 ` always holds your last yank, so ` "0p ` pastes that even after deletes.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about p (paste)

  

### What should you keep in mind with p (paste)?

 

To use the system clipboard, paste from the ` + ` register with ` "+p `, provided your Vim build supports it. Many people add ` set clipboard=unnamedplus ` to their configuration so yank and paste work with the system clipboard directly, which makes Vim behave more like other applications.

 

## At a glance

   CategoryKeyboard shortcuts Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More Keyboard shortcuts terms

 

- [Move Line Up / Down](<https://delaparra-services.nl/knowledge-hub/move-line-up-down>) 
- [Move to Line Start / End](<https://delaparra-services.nl/knowledge-hub/move-to-line-start-end>) 
- [Open Keyboard Shortcuts](<https://delaparra-services.nl/knowledge-hub/open-keyboard-shortcuts>) 
- [Quick Fix / Show Actions](<https://delaparra-services.nl/knowledge-hub/quick-fix-show-actions>) 
- [Quick Open / Go to File](<https://delaparra-services.nl/knowledge-hub/quick-open-go-to-file>) 
- [Rename Symbol](<https://delaparra-services.nl/knowledge-hub/rename-symbol>)

 

[All terms starting with P](<https://delaparra-services.nl/knowledge-hub#letter-p>)

 

## Skills

 

- ### Editor shortcuts (VS Code / Cursor and Vim)

 

Use when a user asks how to do something faster in VS Code (or Cursor) or Vim, asks what a keyboard shortcut does (e.g. Ctrl+D, Ctrl+Shift+P, F12, gg, dd, yy, ciw, :wq), wants to customise keybindings, or is stuck in Vim. Gives the correct shortcut for their operating system and can write keybindings.json entries.

 [View skill](<https://delaparra-services.nl/skills/editor-shortcuts>) [Download zip](<https://delaparra-services.nl/skills/editor-shortcuts/download>)

 

## Manuals

 

- [Keyboard shortcuts in VS Code and the terminal](<https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code>) 
- [Installing Visual Studio Code](<https://delaparra-services.nl/manuals/visual-studio-code-installeren>)

 

## Need any help?

 

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/p-paste)
