Vim确实没有单独重命名命令可以自己写:command! -nargs=1 Rename let tpname = expand('%:t') | saveas | edit | call delete(expand(tpname))!