Shortcut
GitHub Toggle Diff Comments Shortcut
The GitHub shortcut to toggle diff comments is i on Windows. It's the same on Mac.
Quick Answer
- Windows
- i
- Mac
- i
- Web
- Not confirmed yet
GitHubShortcut
Toggle Diff Comments
Shows or hides inline comments on a pull request diff.
How to toggle diff comments in GitHub
- Open GitHub and go to where you want to toggle diff comments.
- Press i on Windows or i on Mac.
GitHub Toggle Diff Comments Shortcut for Windows
Press i.
GitHub Toggle Diff Comments Shortcut for Mac
Press i.
GitHub Toggle Diff Comments Shortcut for GitHub Web
We haven't confirmed a GitHub Web shortcut for this yet.
Related Keyboard Shortcuts
Frequently asked questions
What is the GitHub toggle diff comments shortcut?
On Windows, press i. On a Mac, press i.
Is there a Mac shortcut to toggle diff comments in GitHub?
Yes: i.
Does it work in GitHub for the web?
We haven't confirmed a web version shortcut for this yet.
Official source · How we verify