摘要: vim编辑shell脚本自动插入文件头部信息,将下面的代码写入home目录xia .vimrc 文件即可。 shell 文件头: 1 autocmd BufNewFile *.sh exec ":call Setcomment()" 2 func Setcomment() 3 call append 阅读全文
posted @ 2021-08-05 16:02 天使不设防 阅读(505) 评论(0) 推荐(0) 编辑