v0.9.0
guide / The address bar and searching the web

The address bar and searching the web

Press o, type, press Enter. The first row always shows what wr will do

v0.9.0 06 / 21 1 min read docs/GUIDE.md
You typeFirst row says
example.com/pageOpen example.com/page
postgres vacuum bloatSearch the web for “postgres vacuum bloat” (with the engine name)

Below the first row are suggestions: your bookmarks (★) first, then your history, that match the words you typed. Every word must appear somewhere in the title or the address, and up to four bookmarks plus eight recent pages are shown. This is how you retype less: wr itself learns what you read.

Key (in the address bar)What it does
↑ ↓, Tab / Shift+Tabchoose a row
Enteropen the selected row
Ctrl+Uclear the line
Ctrl+Wdelete the last word
pasteworks; line breaks become spaces
Escclose

With nothing typed, the bar lists your bookmarks and recent pages — a quick way back to something.

The search engine. Settings → Browsing → Search engine offers DuckDuckGo (the default), Wikipedia and GitHub. To use anything else, put its search URL in the config file with %s where the query goes:

search_engine = "https://example.com/search?q=%s"

Results are ordinary pages, so they read and behave like any other page. Engines that need JavaScript to show results will not work.

You can also search straight from the command line: wr how does tcp work.