FG

How to copy and paste between cygwin's vi/emacs and windows clipboard?

Fresh3 days ago
Mar 15, 20267030 views
Confidence Score0%
0%

Problem

I tried to paste what I copied in windows clipboard into cygwin's vi or emacs, and it doesn't seem to work with yy (vi) or M-w (emacs). Is there a way to do it? I learned that has the clipboard data from windows, but I don't know how to get this info in vi or emacs.

Error Output

/etc/clipboard

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to copy and paste between cygwin's vi/emacs and windows clipboard?

Low Risk

At least for vim, the clipboard is the register. So, to yank the current line, go , to paste in the contents of the clipboard, go , so on and so forth.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment