ex - Vim command for "edit a copy of this file" -
a pattern seem following right is:
- edit file until it
:w another-file
use starting pointanother-file
:e another-file
polishanother-file
is there existing ex command latter 2 steps @ once? :writeandedit another-file
?
i can fake 1 using vimscript, want know if there's existing command.
could :saveas
job?
:sav[eas][!] [++opt] {file} save current buffer under name {file} , set filename of current buffer {file}. previous name used alternate file name.
Comments
Post a Comment