Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 2 down vote accepted

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).

share|improve this answer
I wonder if you could make a vimperator function to delete a tab range without leaving the current tab. – Jason Axelson Aug 27 '10 at 3:15

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

You can find out about tabgroups using :help tabgroups

share|improve this answer

You must log in to answer this question.

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