Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add keyboard shortcut to select current HEAD #566
Yes. Just the same as I’d expect the ⌘1 or ⌘2 shortcuts to change when that new view is listed above or between the respective views.
An alternative would be to use ⌘0, which also has precedent in macOS apps. For example, Mail uses dynamic shortcuts using ⌘ and a number for the various mailboxes you can drag into a bar below the toolbar, but ⌘0 always selects the message viewer.