Wednesday, May 23, 2012

Re: If in OldFile I :write NewFile, do I need to manually reload NewFile and close OldFile?

On 23 May 2012, at 23:08, sfosparky wrote:

> For GVIM 7.3, IF I open OldFilename, AND use :write to write its buffer as NewFileName, THEN is there a way to not have to keep thinking about OldFileName?
>
> That is, I want GVIM to simply begin editing NewFile, period — I don't want to have to manually use :edit to load NewFile, use :rew to position back to OldFile, and use :bdel to close OldFile.

:saveas NewFile

--
Andrew Long
andrew dot long at mac dot com





--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: