vim script to backup current file需求 在编辑时,为了能随时回退旧版本,用 vim 写一个函数来实现太方便了。 脚本 # 先打开备份开关 set backup # 在写文件前备… admin2026-03-21