FG

How can I paste something at the end of the line in VIM?

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

Problem

How can I paste some text that I yanked at the end of the line? Currently I'm doing it by pressing $p. Is there any way to do this with a single keystroke?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I paste something at the end of the line in VIM?

Low Risk

There is if you create a mapping, e.g.. Then you can type , to paste at the end of the line. Remember, one way or another, you'd have to tell Vim that you want the text at the end of the line, and not where the cursor currently is; by default, Vim h…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment