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

Help and keyboard shortcuts overlay. #15

Open
dmitshur opened this issue Dec 21, 2014 · 0 comments
Open

Help and keyboard shortcuts overlay. #15

dmitshur opened this issue Dec 21, 2014 · 0 comments

Comments

@dmitshur
Copy link
Member

dmitshur commented Dec 21, 2014

Pressing "?" on your keyboard should bring up an overlay that lists all available keyboard shortcuts. Many good websites do this (e.g., try it on github.com) and it's good to be consistent.

It might also be a good idea to have an icon/text with help/info that also brings up this overlay.

image

This was referenced Dec 21, 2014
dmitshur added a commit that referenced this issue Aug 9, 2017
The motivation for Cmd+R (and R, due to some browsers not supporting
Cmd+R overrides) was to use same shortcut as in Sublime Text, which I'm
used to.

However, ST is an editor, so it requires the use of a modifier such as
Cmd. Being a read-only code view, gotools.org can afford to skip the
modifier.

After godoc.org has chosen to to use F shortcut, I've added it to
gotools.org to stay consistent. Since then, I've started to use and
rely on F shortcut most of the time, and find it more natural.

Remove Cmd+R and R shortcuts now that we can do it for gotools.org
only. That way, there's only one canonical way of accessing the select
list view dropdown and jumping to an identifier, and it's the same as
on godoc.org.

This further increases the priority of #15.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant