Monday, September 17, 2012

Re: Returning to unnamed empty buffer

richard emberson, Mon 2012-09-17 @ 08:22:08-0700:
> So, you start Vim without a file name. Your is some unnamed empty
> buffer. Then from the command line you goto some file to edit:
>
> :e SomeFile
>
> After editing the file, you then wish to return to the original
> unnamed empty buffer. I don't seem to figure out how to get back. Does
> the original unnamed empty buffer have some sort of reference that can
> be used to get back to it.

The :enew command will open a new [No Name] buffer in the current
window. It may not be the *same* buffer as the one in which you started,
but does that matter?

No comments: