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

Keyboard shortcuts for annotating and deleting an annotation #270

Closed
hengzhe-zhang opened this issue Dec 24, 2019 · 5 comments
Closed

Keyboard shortcuts for annotating and deleting an annotation #270

hengzhe-zhang opened this issue Dec 24, 2019 · 5 comments

Comments

@hengzhe-zhang
Copy link

hengzhe-zhang commented Dec 24, 2019

Annotating by mouse and deleting an annotation by mouse need much tedious effort, especially when I need to modify these annotations frequently. Keyboard shortcuts for annotating and deleting an annotation will significantly alleviate these problems. Therefore, is there any possible way to use keyboard shortcuts do these operations? Such as use "Alt+Q" for annotating selected text, and "Alt+E" for deleting the selected annotation.

@robertknight
Copy link
Member

Thank-you for the feedback! We don't have much in the way of keyboard shortcuts for annotation tasks at the moment. We've been working on general keyboard accessibility recently so you can use the keyboard to navigate around the sidebar more easily. Providing convenient shortcuts for creating and editing annotations is something I think we should definitely look at. For PDFs we can chose something which we know doesn't conflict with the PDF viewer. For HTML documents I'm not sure what will be best.

If you have any more context about your particular use case, feel free to add it here.

@hengzhe-zhang
Copy link
Author

hengzhe-zhang commented Dec 25, 2019

Custom shortcuts are a good way.
By the way, the most use case of this annotation tool to me is to mark up something to read later. For reading technical articles, it is so often to confront confusing sentences. I usually mark up them temporarily and retrospect them later.

@klemay
Copy link
Contributor

klemay commented Apr 9, 2021

Hey @zhenlingcn, we added a keyboard shortcut for annotating selected text last year: when the annotation adder pops up, type a to create an annotation or h to create a highlight. You can also navigate through and select text using your keyboard. More info here

I realize this partially addresses your request, as it doesn't cover modifying and deleting annotations. However, we have an issue that broadly covers keyboard shortcuts, so I am closing this in favor of hypothesis/product-backlog#1202

@klemay klemay closed this as completed Apr 9, 2021
@tedmiston
Copy link

tedmiston commented Sep 18, 2021

@klemay I came across this issue while searching for a way to activate the Hypothesis browser extension with a keyboard shortcut. I find that I switch to my mouse just to click the extension very very frequently, and think it would be much faster to have a custom shortcut, say ctrl-h to activate it. Do you know if this is possible today?

Update: Scratch that, I just found a doc for this - https://web.hypothes.is/help/how-to-activate-hypothesis-on-a-web-page/.

@klemay
Copy link
Contributor

klemay commented Sep 18, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants