Oriel

Juggle a few tabs

Tabs without a tab strip

You may have noticed that Oriel has no row of tabs across the top. That's on purpose. A tab strip shows you a dozen squashed titles you can't read, and finding the one you want means scanning them all. In Oriel, you switch tabs the way you'd switch buffers in Emacs: you ask for one by name.

Let's open a few so we have something to switch between. Press O, the capital letter. It's the same prompt as o, but the page opens in a new tab. Open two or three sites you use often. You can also press F on a page and pick a link to open it in a new tab, which is the quickest way to gather a few pages while you read.

Switch by name

Now press C-x b: that's Control and x together, then b on its own. A list of your tabs opens over the page, in the order you last used them. Start typing a few letters of a page's title or address, and the list narrows to the tabs that match. Press RET to switch to the highlighted one.

Up and Down move the highlight. Page Up and Page Down move through a longer list by the number of rows you can see.

When the list opens, the tab you were in before this one is already highlighted, so C-x b RET takes you straight back to it. Do it again and you're back where you started. That one sequence covers a lot of everyday switching, like going back and forth between documentation and the page you're working on.

You can type more than one word, too. Each word has to appear in the title or the address, in any order, so git notif finds a tab titled "Notifications" whose address is on github.com. T opens the same list, if you prefer a single key.

Step through them

Your tabs also have an order, the order you opened them in, even though you can't see it. J moves to the next tab and K to the previous one. gt and gT work too. With a number first, 3gt goes straight to the third tab.

To change the order, gJ moves the current tab one place later, and gK one place earlier. And C-TAB and C-S-TAB step to the next and previous tab, if your hands are used to that from other browsers.

You can also select tabs by position in NAV mode: Ctrl+1 through Ctrl+8 go to that tab, and Ctrl+9 goes to the last one. On macOS, use Cmd instead of Ctrl. Ctrl+click (Cmd+click on macOS) or middle-click an HTTP or HTTPS link to open it in the background, then switch to it when you're ready.

Close and bring back

D closes the current tab. If you close one by mistake, U brings it back, and you can press it again to reopen the tab you closed before that, up to the last 16 you closed. Close the last tab and Oriel leaves you an empty one rather than closing the window.

Try this: close two of the tabs you opened with D D, then press U twice. Both come back. If your hands know C-w and C-S-t from another browser, those do the same in NAV.

The command line

The command line gives you another way to open, switch and close tabs, which is useful when you can't remember a key. Press : to open it, and you'll see a list of commands that narrows as you type. A few to try:

Command

What it does

:tab sigil

Open the tab list, already filtered to "sigil"

:tab 2

Go to the second tab

:tabnew orielbrowser.com

Open an address in a new tab

:tabclose

Close the current tab

:quit

Close Oriel

TAB completes the command you're typing, and C-n and C-p move through the suggestions. Those work in the address prompt too.

Now that you have a few tabs open, let's make it easy to get back to the pages you use most.