I often want to paste some text after the last space in line. If I have
sometext <cursor>
and press Ctr+O, P, I got
sometext<pasted_text>
instead
sometext <pasted_text>
How do I achieve the latter in vim?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Are you using (upper-case)
P? That inserts text before the current cursor position. Lower-casepputs it after.