Oriel

Keep tabs for later

What a stash is

A stash is a set of tabs you've put aside, saved under a label you choose. Put tabs aside walks through using one for the first time. This guide collects the details: the commands, how the multi-select list works, and where your stashes are kept.

A stash is a snapshot. It holds each tab's address and title as they were when you stashed it, in the tabs' list order, regardless of the order you marked them. Duplicate addresses stay as separate entries. It also keeps the tab's retained history branches and saved scroll positions. It doesn't keep cookies, form values, media playback state or the engine's cached documents. Nothing changes a stash behind your back: only the commands below do.

Commands

Keys

Command

What it does

ss

:stash

Pick tabs, then a label or an existing stash. Closes the tabs if stash-close-tabs: is #t, which is the default.

sk

:stash-keep

The same, but always keeps the tabs open.

sc

:stash-close

The same, but always closes the tabs.

su

:unstash

Pick a stash, then the entries to reopen as new tabs here.

sd

:stash-drop

Pick a stash and remove it entirely.

sr

:stash-remove

Pick a stash, then the entries to remove from it.

A few rules hold for all of them. Pressing ESC at any step changes nothing. Accepting a list with nothing marked does nothing, too. And these commands ignore a count, so 3ss is the same as ss.

Labels

A label is whatever text you type: Comparing headphones, Taxes 2026, Read this weekend!. Oriel keeps it exactly as you typed it, apart from spaces at either end, and it can't be empty.

Two stashes can have the same label. The stash list shows each one's dates, how many tabs it holds and a preview of its entries, so you can tell them apart, and Oriel always acts on the row you picked rather than on a label that happens to match.

Each stash has a created date and an updated date; each entry has an added date. Dates display in your local time. Adding tabs preserves the stash's created date and old entries, gives the new entries their own added dates, and advances the updated date. Removing entries advances it too. Nothing expires because of its age, and an empty stash stays until you drop it.

Picking from the list

The lists for picking tabs and entries let you mark more than one row. These keys work in them:

Capturing starts with the current tab marked. Restoring starts with every entry marked. Removing individual entries starts with none marked.

Keys

What they do

C-SPC

Mark or unmark the row you're on

<up> <down> C-p C-n

Move between rows without changing marks

M-a

Mark every row that matches what you've typed

M-u

Clear every mark, including marks on rows you can't see

RET

Accept every marked row, in list order

ESC

Cancel

Anything else you type filters the list, including spaces and the letter s. A row you've marked stays marked while it's filtered out of view, and the count of marked rows includes it, so you can build up a selection from several searches. RET accepts all of them, seen or not.

When saving fails

Oriel finishes saving a stash before it closes any tab. If the save fails, or Oriel can't be sure it reached the disk, every tab stays open and you see the error. If a tab won't close after a successful save, it stays open and its entry stays in the stash.

Restoring works the same careful way. If one entry fails to open, Oriel tells you which and opens the rest, and the stash itself doesn't change.

Where stashes are saved

Stashes are saved in ~/.local/state/oriel/stashes.sgv, or under XDG_STATE_HOME if you've set it. That's deliberately not in your configuration directory: stashes are a record of pages you've visited, and they shouldn't end up in a dotfiles repository by accident. They're also not tied to the configuration you load, so ORIEL_CONFIG doesn't move them.

To keep them somewhere else, like a directory you sync between machines, set stash-path: to an absolute path:

(config
  stash-path: "/home/you/sync/oriel/stashes.sgv")

Oriel reads the file as data and never runs it. If the file gets damaged, Oriel keeps it as it is, tells you, and won't write over it until you've fixed or removed it.

On restore, safe GET pages load afresh. Form results and entries whose request method is unknown wait for you to choose whether to open the address as a fresh GET; Cancel is selected by default. A saved form result never repeats its POST request. Saved branches are available through gh; ordinary Back and Forward follow the new tab's live trail. See Return to a history branch for the reopening choices.

In a private session (oriel --private), stashes live only in memory. You start with none, your saved stashes aren't read or changed, and anything you stash disappears when you close the window. The stash list says so while you're using it.