这个表达式不行吗?
代码: 全选
%{strftime('%y-%m-%d\ %X',getftime('expand("%:p")'))}
代码: 全选
%{strftime('%y-%m-%d\ %X',getftime('expand("%:p")'))}
代码: 全选
%{strftime(\"%Y/%m/%d\ -\ %H:%M\")
代码: 全选
se stl=%{strftime('%y-%m-%d\ %X',getftime(expand('%:p')))}
4楼正解 谢谢lilydjwg 写了:双引号是注释。代码: 全选
se stl=%{strftime('%y-%m-%d\ %X',getftime(expand('%:p')))}