vim - save current file with a new name but keep editing current file

http://superuser.com/questions/414110/vim-save-a-file-as-a-different-filename-but-keep-w-as-the-current-filename

:w someOtherFile.c

it will write to that file, but stay editing someFile.c.

posted @ 2016-12-02 12:47  cnblogist  阅读(208)  评论(0编辑  收藏  举报