How do I configure vim templates to automatically generate content?

  question, vim

Cpp file

Header files and description information are automatically generated.

For example:

/******************************************************************
 Created by:
 Creation date:
 Modify records:
 ......***********
 
 ******************************************************************/

http://jisuanjibiancheng.blog.163.com/blog/static/20606503520127894753 …Can you take a look at this?

Of course, you can also implement it through plugins such as sinppets. For example, my own vim is such that you can go to the specific one.https://github.com/caixw/VimIDESee below.