As title, any convenient way?
I especially need it for some cvs/git commit or sendmail to load a template comment. I think it is a vi environment, not 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.
at the VIM command prompt:
or for short:
This will insert the contents of
new_fileunder where the cursor is. For instance if this is the contents ofnew_file:And this is the text you’re editing:
And your cursor is on the first line and you type:
Then your buffer will be: