Thursday, December 2, 2010

Re: Opening files in new buffers

On Wed, Dec 01, 2010 at 05:07:19PM EST, Ven Tadipatri wrote:

[..]

> There's tabbed browsing in vim as well right?

More like tabbed editing. ;-)

> Sometimes I notice links being opened in horizontal tabs. What's the
> difference between these tabs and the buffers that are opened? In
> other words, what are the advantages/disadvantages of using tabs
> versus buffers?

This may help clarify buffers vs. windows & tabs:

:help buffers
:help window
:help tabpage

Chasing the web browser analogy, Vim's windows and tab pages loosely
correspond to a tabbed browser's tabs, while Vim's buffers are a bit
like the browser's cache.

Do you mean (dis)advantages of using 'windows' vs. using 'tab pages'?

This Vim tip provides many interesting suggestions of things you can do
to put Vim's 'tab pages' to good use:

http://vim.wikia.com/wiki/Quick_tips_for_using_tab_pages

If you enter 'tabs' in the wiki's search box you will get a list of all
the currently available tips relative to 'tabs pages':

http://vim.wikia.com/wiki/Category:Tabs

HTH

cj

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

Post a Comment