摘要: autocmd BufNewFile *.py exec ":call SetTitle()" func SetTitle() call append(0,"#! /usr/local/python2.6/bin/python") endfunc 后面不能加分号 autocmd 带有 exec 关键 阅读全文
posted @ 2019-01-15 16:27 岁月长河 阅读(472) 评论(0) 推荐(0) 编辑