Thursday, September 30, 2010

Re: gvim, how to search tab by name and then go to this tab?

On Thu, Sep 30, 2010 at 11:24:52PM +0800, Zac Lee wrote:
> gvim, how to search tab by name and then go to this tab?

You shouldn't use tabs like in other text editors. To quote
vimgor (the bot) in #vim:

tabs
Tab pages are not buffers, don't try to force them to act
like buffers. Consider tab pages like viewports, layouts, or
workspaces. Trying to setup 1 tab page == 1 buffer is an
exercise in futility. Do ':set hidden' and get started. Get
FuzzyFinder, LustyExplorer or BufExplorer to make getting
around your buffers easier. See
http://vim.wikia.com/wiki/Category:Tabs for more info.

buffers
For a quick intro to vim's windows, buffers, and tabs, see
http://img200.imageshack.us/img200/9031/windowsv.png and
http://vim.pastey.net/115548 See also ':help tab-page-intro'
and ':help windows-intro'

Better use buffers and tabs only if you need different "views" on
some buffers in a window.

Hope this helps,
Simon
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

No comments: