Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow keyboard shortcut / to focus on search #691

Closed
shimizukawa opened this issue Jan 2, 2015 · 4 comments · Fixed by #9337
Closed

Allow keyboard shortcut / to focus on search #691

shimizukawa opened this issue Jan 2, 2015 · 4 comments · Fixed by #9337
Labels
help wanted html search type:enhancement enhance or introduce a new feature type:proposal a feature suggestion

Comments

@shimizukawa
Copy link
Member

Various web services, notably GMail and GitHub, allow the keyboard shortcut / for focusing on the search box. It would be nice if Sphinx templates would do the same.


@shimizukawa shimizukawa added this to the some future version milestone Jan 2, 2015
@shimizukawa shimizukawa added type:enhancement enhance or introduce a new feature builder:html type:proposal a feature suggestion labels Jan 2, 2015
@shimizukawa
Copy link
Member Author

From Georg Brandl on 2011-05-15 09:42:40+00:00

Good idea.

@marxin
Copy link
Contributor

marxin commented Jun 9, 2021

I do support the idea! It would be very handy.

@tk0miya
Copy link
Member

tk0miya commented Jun 13, 2021

I think this is good for the first contribution. Does anybody try to fix this?

marxin added a commit to marxin/sphinx that referenced this issue Jun 14, 2021
- "s" and "/" for Focus search bar
- "c" - clear highlighted test

Fixes sphinx-doc#691.
@marxin
Copy link
Contributor

marxin commented Jun 14, 2021

Yes, I've just created a pull request for it.

marxin added a commit to marxin/sphinx that referenced this issue Aug 10, 2021
- "s" and "/" for Focus search bar
- "c" - clear highlighted test

Fixes sphinx-doc#691.
marxin added a commit to marxin/sphinx that referenced this issue Aug 11, 2021
- "s" and "/" for Focus search bar
- "h" - clear highlighted text

Fixes sphinx-doc#691.
marxin added a commit to marxin/sphinx that referenced this issue Aug 11, 2021
- "s" and "/" for Focus search bar
- "h" - clear highlighted text

Fixes sphinx-doc#691.
marxin added a commit to marxin/sphinx that referenced this issue Aug 11, 2021
- "s" and "/" for Focus search bar
- "h" - clear highlighted text

Fixes sphinx-doc#691.
marxin added a commit to marxin/sphinx that referenced this issue Aug 12, 2021
- "s" and "/" for Focus search bar
- "h" - clear highlighted text

Fixes sphinx-doc#691.
marxin added a commit to marxin/sphinx that referenced this issue Aug 12, 2021
- "s" and "/" for Focus search bar
- "h" - clear highlighted text

Fixes sphinx-doc#691.
marxin added a commit to marxin/sphinx that referenced this issue Aug 15, 2021
- "s" and "/" for Focus search bar
- "h" - clear highlighted text

Fixes sphinx-doc#691.
marxin added a commit to marxin/sphinx that referenced this issue Aug 15, 2021
- "s" and "/" for Focus search bar
- "h" - clear highlighted text

Fixes sphinx-doc#691.
marxin added a commit to marxin/sphinx that referenced this issue Oct 11, 2021
- "/" for Focus search bar
- "h" - clear highlighted text

Fixes sphinx-doc#691.
marxin added a commit to marxin/sphinx that referenced this issue Oct 11, 2021
- "/" for Focus search bar
- "h" - clear highlighted text

Fixes sphinx-doc#691.
marxin added a commit to marxin/sphinx that referenced this issue Oct 13, 2021
- "/" for Focus search bar
- "h" - clear highlighted text

Fixes sphinx-doc#691.
marxin added a commit to marxin/sphinx that referenced this issue Nov 18, 2021
- "/" for Focus search bar
- "h" - clear highlighted text

Fixes sphinx-doc#691.
marxin added a commit to marxin/sphinx that referenced this issue Nov 18, 2021
- "/" for Focus search bar
- "ESC" - clear highlighted text

Fixes sphinx-doc#691.
marxin added a commit to marxin/sphinx that referenced this issue Dec 28, 2021
- "/" for Focus search bar
- "ESC" - clear highlighted text

Fixes sphinx-doc#691.

Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
marxin added a commit to marxin/sphinx that referenced this issue Dec 28, 2021
- "/" for Focus search bar
- "ESC" - clear highlighted text

Fixes sphinx-doc#691.

Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
marxin added a commit to marxin/sphinx that referenced this issue Dec 28, 2021
- "/" for Focus search bar
- "ESC" - clear highlighted text

Fixes sphinx-doc#691.

Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
marxin added a commit to marxin/sphinx that referenced this issue Jan 12, 2022
- "/" for Focus search bar
- "ESC" - clear highlighted text

Fixes sphinx-doc#691.

Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
marxin added a commit to marxin/sphinx that referenced this issue Jan 15, 2022
- "/" for Focus search bar
- "ESC" - clear highlighted text

Fixes sphinx-doc#691.

Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
marxin added a commit to marxin/sphinx that referenced this issue Jan 16, 2022
- "/" for Focus search bar
- "ESC" - clear highlighted text

Fixes sphinx-doc#691.

Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
marxin added a commit to marxin/sphinx that referenced this issue Jan 16, 2022
- "/" for Focus search bar
- "ESC" - clear highlighted text

Fixes sphinx-doc#691.

Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
marxin added a commit to marxin/sphinx that referenced this issue Jan 18, 2022
- "/" for Focus search bar
- "ESC" - clear highlighted text

Fixes sphinx-doc#691.

Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
marxin added a commit to marxin/sphinx that referenced this issue Jan 20, 2022
- "/" for Focus search bar
- "ESC" - clear highlighted text

Fixes sphinx-doc#691.

Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
marxin added a commit to marxin/sphinx that referenced this issue Jan 22, 2022
- "/" for Focus search bar
- "ESC" - clear highlighted text

Fixes sphinx-doc#691.

Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2022
@AA-Turner AA-Turner removed this from the some future version milestone Sep 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted html search type:enhancement enhance or introduce a new feature type:proposal a feature suggestion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants