Friday, February 26, 2010

Re: close file but not the tab

On 2010-02-26, rameo wrote:
> 1)
> I would like to know if it is possible to close the last tab but keep
> the empty tab without closing vim.

Vim does not have the notion of empty tabs or empty windows. A
window is a view into a buffer. A tab must contain at least one
window. Vim itself must contain at least one buffer while it is
running. The closest you can get to an empty tab is to have that
tab contain an empty buffer, hence the :enew suggestion from Ben.

Regards,
Gary

--
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: