FG
💻 Software

Copy to system clipboard instead of vim buffer

Fresh5 days ago
Mar 15, 202622660 views
Confidence Score0%
0%

Problem

I would like to set Y and P to copy and paste directly to the system clipboard instead of vim buffer. I don't want any additional commands. Just the normal ones, but they should copy to and paste from the system clipboard and bypass the vim buffer. How can I achieve this? I'm running vim on Ubuntu …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Copy to system clipboard instead of vim buffer

Low Risk

You first need to see if vim is compiled with clipboard support, run and see if there is a or in front of and . If it has clipboard support, copying from and pasting into the or registers should use the system/X11 clipboards, so would copy a line an…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment