FG
💻 Software

Pasting into vim from GUI results in missing lines

Fresh7 days ago
Mar 15, 20263390 views
Confidence Score0%
0%

Problem

When I copy text from an OS X GUI app (e.g. Firefox) and paste it into vim in my terminal, it's often missing the first few lines or characters, with no obvious pattern. This may not be vim specific, but I've just tested pasting into the terminal when not using vim – e.g. when using the bash shell …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Pasting into vim from GUI results in missing lines

Low Risk

Just make sure that when pasting to vim, the Insert Mode is activated. Do this by pressing i before pasting. Otherwise pasted characters like or will trigger insert mode and you'll miss everything before.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment