Oriel

Put tabs aside

Too many tabs

You know how this goes. You start looking for a pair of headphones, and twenty minutes later you have eight tabs of reviews and shops open. Then something else comes up. You don't want to close those tabs, because you'll lose your place, but you don't want them in the way for the rest of the week either.

Oriel's answer is the stash. A stash takes the tabs you pick, saves them under a label you choose, like "Comparing headphones", and closes them. When you're ready to pick it back up, you bring the stash back and your tabs reopen, in the same order.

Let's try it. Open three or four tabs on one topic, so you have something to put aside.

Stash some tabs

Press ss. A list of your tabs opens, and the one you're on is already marked. This list lets you pick more than one row:

  • Move up and down with <up> and <down>, or with C-p and C-n. Moving doesn't change what's marked.

  • Press C-SPC to mark or unmark the row you're on.

  • Type to narrow the list, just like the tab list. Marks you've made stay marked even when their rows are filtered out of view, and the count of marked rows includes them.

  • M-a marks every row that matches what you've typed, and pressing M-u clears every mark.

Here's a quick way to grab every tab on one site: type part of its address, so only those tabs are left, and press M-a. Mark the tabs you want to put aside and press RET.

Next, Oriel asks for a label. Type something that will make sense to you next week, like Comparing headphones, and press RET on the "Create" row. Labels are ordinary text, so spaces, punctuation and capital letters are all fine.

Oriel saves the stash first, and once it's safely written, it closes those tabs. If anything goes wrong while saving, your tabs stay open and Oriel tells you why, so you never lose a tab to a failed save. And if you press ESC at either step, nothing changes at all.

Bring them back

Some time later, press su. Oriel lists your stashes with their labels, dates and how many tabs each one holds. Pick "Comparing headphones" and press RET.

Now you see the tabs in that stash, all marked. Press RET to reopen all of them, or unmark a few with C-SPC first if you only need some. They open as new tabs in this window, in the order you stashed them.

Their history branches come back too: press gh to choose a saved page. Safe GET pages load afresh. A saved form result or an entry whose request method is unknown waits for you to choose whether to open its address as a fresh GET, with Cancel selected by default. A stash doesn't bring back text you had typed into a form or a video's playback position, and it never repeats a saved POST request.

Notice that the stash is still there. Bringing tabs back never uses up a stash, so you can reopen the same set again tomorrow. That makes a stash a good place for a set of pages you come back to now and then, like the documentation for a project you work on once a month.

Add to a stash

When you find one more review, you can add it to the same stash. Press ss, mark the new tab, and when Oriel asks for a label, pick "Comparing headphones" from the list of existing stashes instead of creating a new one. The new tab joins the end of that stash, and everything already in it stays as it was.

Keep the tabs open

Sometimes you want to save a set of tabs and keep working in them, as a checkpoint. sk does exactly what ss does but leaves the tabs open. A stash is a snapshot, though: if you keep browsing in those tabs, the stash still holds the pages as they were when you saved them.

If you'd like ss to keep tabs open every time, you can change that in your configuration, and we'll see how on the next page. sc always closes them, whatever your configuration says.

Tidy up

Stashes stay until you remove them. When you're done with one, sd asks which stash to drop and removes the whole thing. To take just a few entries out, sr lets you pick a stash and then mark the entries to remove.

Keys

What they do

ss

Stash the tabs you pick

sk sc

Stash and keep them open, stash and close them

su

Bring tabs back from a stash

sd sr

Drop a whole stash, remove some of its entries

Every stash key starts with s, so they're easy to remember together. There's more in Keep tabs for later, including where stashes are saved. Now let's make Oriel yours.