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

Posted My Blog @ cnblogs.com

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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.

以上是关于vim - save current file with a new name but keep editing current file的主要内容,如果未能解决你的问题,请参考以下文章

Vim

Linux - vim 编辑器

文件编辑器Vim操作使用

vim补充及多条件判断

Vim系列 - 修改换行符

vim-横向/纵向分屏