Please bottom-post to this list if your mail client supports it.
Please upgrade your mail client if it doesn't. Please let us know if
you can't so you don't look like you're being rude.

Anyway...

On Sep 6, 4:57 am, Bastiaan Wakkie <[email protected]> wrote:
> Perhaps (as in gVim these tabs looks like tabs you will find in all
> other programs) the design of tabs or the naming should change.
>
> How about work: instead of tab: with a second tab layers with your
> buffers so that you have the feeling they act as a workspace.
>

If it helps, you can always create a :Work command that is just an
alias for :tab, or even use a cabbr. But "tab page" is a decent name
in my opinion, and :tab is a good way to get to a tab page. The only
real difference between Vim's tabs and other tabs is that Vim tabs are
not bound to a single file.

> Are buffers always attached to one tab (workspace)?

No. And trying to do so is bound to cause frustration as I mentioned
earlier.

> If I open files with
>
> --remote-tab-silent
>
> They end up in a tab but also in a buffer. If I then close the tab I
> still have them in my buffer. Very confusing.

Quite simple, really.

* 1 file per buffer, and a file always has a buffer. Buffers is how
you would previously edit multiple files in full-screen fashion.
* A window is a view-port onto a single buffer. You can have any
number of view-ports to the same buffer, hence any number of windows
per file.
* A tab contains any number of windows. Each window in a tab page can
view any loaded buffer. Hence, any number of files per tab, and any
number of tabs per file (because the buffer viewports can be in any
tab).

One potentially confusing behavior is that quitting a window with :q
or :close or even :tabclose does not delete the buffer being viewed.
This may be the source of some of your confusion. There are reasons
for this, one of which would be to allow the same file to be open in
multiple windows and/or tabs without a :close on one window causing
problems in others.

If you know for certain that this is the only window/tab in which the
file's buffer is being viewed, you can use :bd instead of :q to close
it, and the buffer WILL be deleted.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to