#Vim# 修改python文件头信息:Last Modified
function UpdateDate()
call cursor(5,1)
if search('Last Modified') != 0
let line = line('.')
call setline(line, "# Last Modified :".strftime("%Y-%m-%d %X"))
endif
endf
autocmd FileWritePre,BufWritePre *.py ks|call UpdateDate()|'s