2

In vimperator I often have 20+ tabs open. To get a list of my tabs I press "B" which shows the buffer/tab numbers.

So I want to do something like :3,5bd to delete tabs 3 to 5. Is that possible?

3 Answers 3

2

You can read about closing tabs in Vimperator in the Vimperator's help file.

As it comes to the actual question, I don't think you can do exactly that - with that specific syntax, at least. However, to close tabs 3 through 5 is possible with 3gt 3d.

So, first you have to change to the first tab to be closed and do some math yourself (how many tabs you want to close: 5-3 + 1 = 3).

1
  • I wonder if you could make a vimperator function to delete a tab range without leaving the current tab. Aug 27, 2010 at 3:15
0

You may also use :tabgroups command to group tabs and then remove whole group.

You can find out about tabgroups using :help tabgroups

0

To remove tabs by pattern you can use:

:bd "<wow I have 200 tabs open with oracle support>"
:bd support

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .