Get it on your desk →The most used GitHub shortcuts on Linux: Focus the search bar (S), Show keyboard shortcuts (?), Open in github.dev editor (.), File finder (T), Submit comment (Ctrl+Enter). This page lists all 49, from the official documentation.
49 GitHub keyboard shortcuts for Linux, grouped into Site & code browsing, Editing files, Markdown & comments, Issues & pull requests, Notifications & Actions. Every key is copied from docs.github.com (retrieved November 19, 2026) and shown on a real keyboard layout.
On Linux, 47 of these 49 shortcuts are the Mac ones with Ctrl in place of ⌘; 2 are different, for example Replace (Ctrl+Shift+F; Mac: ⌥⌘F), Replace all (Ctrl+Shift+R; Mac: ⌥⇧⌘F).

GitHub keyboard map
Pick your keyboard and a modifier. Keys with a shortcut light up; point at or tap a key to see everything on it. Try it: hold Ctrl on your keyboard
More shortcuts on this key with other modifiers.
Key alone18 keys
All GitHub keyboard shortcuts for Linux
No shortcut matches that search.
Site & code browsing12
| Command | Shortcut |
|---|---|
| Focus the search bar | S |
| Show keyboard shortcuts | ? |
| Open in github.dev editor | . |
| File finder | T |
| Jump to a line | L |
| Switch branch or tag | W |
| Permanent link (canonical URL) | Y |
| Open blame view | B |
| Show / hide comments on diffs | I |
| Edit file | E |
| Highlight the selected line | Shift+J |
| Move focus to hovercard | Alt+↑ |
Editing files9
| Command | Shortcut |
|---|---|
| Find in file | Ctrl+F |
| Find next | Ctrl+G |
| Find previous | Ctrl+Shift+G |
| Replace | Ctrl+Shift+F |
| Replace all | Ctrl+Shift+R |
| Jump to line (editor) | Alt+G |
| Undo | Ctrl+Z |
| Redo | Ctrl+Y |
| Write a commit message | Ctrl+S |
Markdown & comments11
| Command | Shortcut |
|---|---|
| Bold | Ctrl+B |
| Italic | Ctrl+I |
| Inline code | Ctrl+E |
| Insert link | Ctrl+K |
| Numbered list | Ctrl+Shift+7 |
| Bulleted list | Ctrl+Shift+8 |
| Quote | Ctrl+Shift+. |
| Write / Preview tab | Ctrl+Shift+P |
| Paste link as plain text | Ctrl+Shift+V |
| Submit comment | Ctrl+Enter |
| Quote selection in reply | R |
Issues & pull requests11
| Command | Shortcut |
|---|---|
| Create an issue | C |
| Focus issue / PR search bar | Ctrl+/ |
| Filter by author | U |
| Filter by / edit milestone | M |
| Filter by / edit assignee | A |
| Open issue | O |
| Request a reviewer | Q |
| Link an issue or pull request | X |
| Create a sub-issue | Alt+Shift+C |
| Edit parent issue | Alt+Shift+P |
| Submit a review comment | Ctrl+Shift+Enter |
Notifications & Actions6
| Command | Shortcut |
|---|---|
| Mark as unread | Shift+U |
| Mark as read | Shift+I |
| Unsubscribe | Shift+M |
| Toggle timestamps in logs | Shift+T |
| Toggle full-screen logs | Shift+F |
| Workflow editor suggestions | Ctrl+Space |
Source: GitHub (Microsoft) · docs.github.com · retrieved . Unofficial reference. Not affiliated with GitHub (Microsoft). How we source shortcuts →
Free printable GitHub cheat sheet
The essential shortcuts on one page (PDF, 24 × 20 cm), for your keyboard and language.
GitHub shortcut questions
- What is the shortcut for “Focus the search bar” in GitHub on Linux?
- Press S. That is the shortcut for “Focus the search bar” in GitHub on Linux, as given in the official documentation.
- What is the shortcut for “Show keyboard shortcuts” in GitHub on Linux?
- Press ?. That is the shortcut for “Show keyboard shortcuts” in GitHub on Linux, as given in the official documentation.
- What is the shortcut for “Open in github.dev editor” in GitHub on Linux?
- Press .. That is the shortcut for “Open in github.dev editor” in GitHub on Linux, as given in the official documentation.
- Where do these GitHub shortcuts come from?
- From GitHub (Microsoft)’s official documentation at docs.github.com, retrieved November 19, 2026. Every key is copied from there, never from other websites.