Shortcut
Vim Paste Before the Cursor Shortcut
The Vim shortcut to paste before the cursor is P on Windows. It's the same on Mac.
Quick Answer
- Windows
- P
- Mac
- P
- Web
- Not confirmed yet
VimShortcut
Paste Before the Cursor
Puts the copied text before the cursor.
How to paste before the cursor in Vim
- Open Vim and go to where you want to paste before the cursor.
- Press P on Windows or P on Mac.
Vim Paste Before the Cursor Shortcut for Windows
Press P.
Vim Paste Before the Cursor Shortcut for Mac
Press P.
Vim Paste Before the Cursor Shortcut for Vim Web
We haven't confirmed a Vim Web shortcut for this yet.
Related Keyboard Shortcuts
Frequently asked questions
What is the Vim paste before the cursor shortcut?
On Windows, press P. On a Mac, press P.
Is there a Mac shortcut to paste before the cursor in Vim?
Yes: P.
Does it work in Vim for the web?
We haven't confirmed a web version shortcut for this yet.
Official source · How we verify