If I use ‘p’ to paste, vim will remain at normal mode. Is there a command where I can paste and enter insert mode?
Share
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.
That depends where you wish to insert text after you’ve pasted. Paste as normal using
pand then enter insert mode usingaAiIoO…The vim mindset is to enter insert mode as frequently as is strictly necessary.
If you meant how do I paste whilst remaining in insert mode you can use
<ctrl-r>[register name]. E.g<ctrl-r>"for the default register.