Oriel

History and quickmarks

What history records

Oriel adds a page to your history when it finishes loading successfully. It keeps one entry per address, with the page's title, when you last visited and how many times you've been there. Pages that failed or that you stopped, and Oriel's own error pages, aren't recorded.

History keeps the 10,000 addresses you visited most recently and drops older ones. It's saved in your profile, in ~/.local/share/oriel, and a private session (oriel --private) neither reads nor records it.

How suggestions are ranked

The address prompt suggests your quickmarks first, then matching open tabs, then history. History is ranked by frecency: the number of visits, divided by one more than the number of weeks since your last visit. A page you visited 20 times, last visited today, scores 20. Visit it 20 times but not for three weeks, and it scores 5. Ties go to the more recent visit.

To match, every word you type has to appear in the title or the address, ignoring case. A quickmark's name counts as its title and its address as its address, so typing duck finds your ddg quickmark too.

Prompt recall

Separately from your history, the address prompt and the command line each remember the last 100 things you submitted in them. <up> and <down> step through that list, and stepping past the newest brings back what you'd started typing. This list is only kept while Oriel runs.

Clear history

To forget a single page, select it among the suggestions in the address prompt and press M-d. It works only on history suggestions, so a quickmark or an open tab in the list is never removed by mistake, and a private session never writes anything. Its command is 'history-forget, bound in CMD mode, if you'd like it on another key.

:history-clear removes every global history entry and empties both prompt recall lists. It doesn't touch your quickmarks or the cookies in your profile.

The history of an open tab and your saved stashes are separate from this global list. Clearing history doesn't remove either of them, and restoring a stash doesn't copy its saved entries into global history. A page you actually visit again can be recorded as a new visit.

If your history file is damaged, Oriel keeps it as it is and shows a notice when it starts, until you repair it or clear it.

Manage quickmarks

Command

What it does

:quickmark-add NAME ADDRESS

Add a quickmark, or replace one you added before

:quickmark-remove NAME

Remove a quickmark you added

Everything after the name in :quickmark-add is the address, exactly as typed. These commands save to quickmarks.sgv beside your configuration file, right away. Quickmarks in your configuration file win over ones with the same name in quickmarks.sgv, and the commands won't add or remove those; edit the configuration instead.

Configure Oriel covers writing quickmarks in your configuration, the rules for names and addresses, and how arguments are encoded.