作为标题,任何方便的方式?
我特别需要一些cvs/git commit或sendmail来加载模板注释.我认为这是一个vi环境,而不是Vim.
在VIM命令提示符下:
:read new_file
或简称:
:r new_file
这将插入new_file
光标所在的内容.例如,如果这是以下内容new_file
:
I do not like green eggs and ham I do not like you sam I am
这是您正在编辑的文字:
I meant what I said and I said what I meant An elephant's faithful one hundred percent.
并且您的光标位于第一行并键入:
:read new_file
然后你的缓冲区将是:
I meant what I said and I said what I meant I do not like green eggs and ham I do not like you sam I am An elephant's faithful one hundred percent.