Problem
When you open a doc via Ctrl L (open from URL), the URL isn't tracked anywhere. There's no "recent URLs" list and the URL isn't added to the existing recent-files list (since it has no disk path).
So if you frequently revisit the same remote markdown — a teammate's design doc, a release notes URL — you have to retype it every time.
Proposed behavior
- Add
RecentURL struct + RecentURLs []RecentURL field to Prefs
- Track
{url, title, openedAt} for each successful URL fetch
- Surface them in a new "recent URLs" sidebar section, or as a section in the URL prompt itself (fuzzy-match against the list as the user types)
- Cap at 10 like recent files
Open questions
- Re-fetch on open, or also cache the rendered HTML? (HANDOFF.md flagged URL doc caching as a deferred item; this could land alongside.)
- Should recent URLs show up in the main command palette alongside files?
Problem
When you open a doc via
Ctrl L(open from URL), the URL isn't tracked anywhere. There's no "recent URLs" list and the URL isn't added to the existing recent-files list (since it has no disk path).So if you frequently revisit the same remote markdown — a teammate's design doc, a release notes URL — you have to retype it every time.
Proposed behavior
RecentURLstruct +RecentURLs []RecentURLfield to Prefs{url, title, openedAt}for each successful URL fetchOpen questions