Feature Request: Show a popup with auto-generated Table of Contents based on h1 - h6 tags
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
It would be great to have a shortcut in Vimium to show a popup with auto-generated Table of Contents based on h1 - h6 tags of the current page like this is implemented in the other Chrome extension "Smart TOC" (https://github.com/FallenMax/smart-toc).
Every line of the Table of Contents should have a badge with a keyboard shortcut like when we press f in Vimium. Pressing a shortcut should scroll the page to this header.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing Vimium's existing f hint UI and the linked Smart TOC extension. Trace how keyboard shortcuts open overlays and how headings can be collected from the current page. Done means a shortcut opens a heading-based table of contents, each line has a usable keyboard badge, and selecting one scrolls to that heading.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100