Wednesday, August 14, 2013

Re: Tabs and Bufers


On Wed, Aug 14, 2013 at 4:06 PM, Nikolay Pavlov <zyx.vim@gmail.com> wrote:


On Aug 14, 2013 11:07 PM, "Art Diabolic" <singularitty@gmail.com> wrote:
>
> Hello everyone!
>
> I am Vim noob .
>
> I some times use vim in 2 or more another projects and I want have for all tabs different sets of buffers. Аs it is possible to realize?


I do this using the BufExplorer (http://www.vim.org/scripts/script.php?script_id=42) plugin, which allows you to quickly and easily change which buffer is displayed.

This is how I use it.

I start gVim.
I create 1 tab for project one, open 3 files.
Then I create another tab (:tabnew) and open 6 more files.

So, 2 tabs, 9 files.

When I trigger BufExplorer to change which buffer is displayed you can hit "T" to show only the buffers for the tab you are currently in.

" Buffer Explorer (7.3.6)
" <F1> : toggle this help
...
" T : toggle if to show only buffers for this tab or not

Then I just make sure I am in the correct tab when I am flipping buffers for each project.
If I mess up (or change buffers outside of using BufExplorer) then I simply go to the tab I wanted and reselect that buffer for display (for example :8b).

Your case was exactly my scenario, and I implemented this feature for BufExplorer.

HTH,
David


--
--
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
 
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: