Vimperator

tabs

Tabs are used to be able to view many web pages at the same time. Each tab contains exactly one buffer - multiple buffers per tab are not supported. As a result many buffer and tab commands are interchangeable.

Listing tabs

listing-tabs

B :tabs :ls :files :buffers

:buffers[!]

B

Show a list of all buffers (=tabs). The special version :buffers! opens the buffer list in a persistent preview window. Call the special version of this command again to close the window.

Opening tabs

listing-tabs

:tab

:tab {cmd}

Execute {cmd} and tell it to output in a new tab. Works only for commands that support it, currently:

See :open for other ways to open new tabs.

Changing tabs

changing-tabs

gb

[count]gb

Repeat last :buffer[!] command. This is useful to quickly jump between buffers which have a similar URL or title.

gB

[count]gB

Repeat last :buffer[!] command in reverse direction. Just like gb but in the other direction.

<C-PageDown> <C-Tab> <C-n> gt

[count]gt

Go to the next tab. Cycles to the first tab, when the last is selected.
Count is supported: 3gt goes to the third tab.

<C-PageUp> <C-S-Tab> <C-p> gT

[count]gT

Go {count} pages back. Wraps around from the first tab to the last tab.
Count is supported: 3gT goes three tabs back.

<C-6> <C-^>

<C-^>

Select the alternate tab. The alternate tab is the last selected tab. This provides a quick method of toggling between two tabs.

b :b :buffer

[count]:b[uffer][!] {url|index}

b

Go to the specified buffer from the buffer list. Argument can be either the buffer index or the full URL.

If argument is neither a full URL nor an index but uniquely identifies a buffer, it is selected. With [!] the next buffer matching the argument is selected, even if it cannot be identified uniquely. Use b as a shortcut to open this prompt.

If argument is #, the alternate buffer will be selected (see <C-6>).

g^ g0 :bf :bfirst :br :brewind :tabfir :tabfirst :tabr :tabrewind

:tabr[ewind]

:tabfir[st]

:br[ewind]

:bf[irst]

g0

g^

Switch to the first tab.

g$ :bl :blast :tabl :tablast

:tabl[ast]

:bl[ast]

g$

Switch to the last tab.

:tabm :tabmove

:tabm[ove] [N]

:tabm[ove][!] +N | -N

Move the current tab after tab N. When N is 0 the current tab is made the first one. Without N the current tab is made the last one. N can also be prefixed with "+" or "-" to indicate a relative movement. If [!] is specified the movement wraps around the start or end of the tab list.

:bn :bnext :tn :tnext :tabn :tabnext

:[count]tabn[ext] [count]

:[count]tn[ext] [count]

:[count]bn[ext] [count]

Switch to the next or [count]th tab. Cycles to the first tab when the last is selected and {count} is not specified.

:tabo :tabonly

:tabo[nly]

Close all other tabs.

:bN :bNext :bp :bprevious :tN :tNext :tabN :tabNext :tp :tprevious :tabp :tabprevious

:[count]tabp[revious] [count]

:[count]tp[revious] [count]

:[count]tabN[ext] [count]

:[count]bp[revious] [count]

:[count]bN[ext] [count]

Switch to the previous tab or go [count] tabs back. Wraps around from the first tab to the last tab.

Closing tabs

closing-tabs

d :tabc :tabclose :bun :bunload :bw :bwipeout :bd :bdelete

:[count]bd[elete][!] [arg]

[count]d

Delete current buffer (=tab). Count is supported, :2bd removes two tabs and the one to the right is selected. Afterwards, the tab to the right of the deleted one is selected.

When used with [arg], remove all tabs which contain [arg] in the hostname. [!] forces this command to also search for [arg] in the full URL and also the title of the tab. Use with care.

D

[count]D

Like d but selects the tab to the left of the deleted tab.

u :u :undo

:[count]u[ndo][!] [url]

[count]u

Undo closing of a tab. If a count is given, don't close the last but the [count]th last tab. With [url] restores the tab matching the URL.

:undoa :undoall

:undoa[ll]

Undo closing of all closed tabs. Firefox stores up to 10 closed tabs, even after a browser restart.