Today introduced a gradual method to automatically generate comments inside the shell Profile

  When editing sh script, I often write some comments in the shell. Today I introduce a gradient method that can automatically generate comments and other information in the shell at every vim shell script.

  Let's share a shell script template file, copy it to the user's home directory and name it .vimrc name, so that we can automatically generate some annotations when you open the file .sh end, just slightly modified.

  This is very convenient for you? Let us share with you the code, and then paste the following files to your own requirements, and make changes according to your own requirements. Save and exit.

  After editing, I found ls do not see this file, because it becomes a hidden file, you can view ll -a.

  However, you can edit the shell vim file, which is very useful it? ( Http://iask.sina.com.cn/b/1Igjx5iwRlIx.html )

Guess you like

Origin www.cnblogs.com/HanaKana/p/10963486.html