# GitHub keyboard shortcuts (Mac)

> The most used GitHub shortcuts on Mac: Focus the search bar (S), Show keyboard shortcuts (?), Open in github.dev editor (.), File finder (T), Submit comment (⌘↩). This page lists all 49, from the official documentation.

- Source: [GitHub (Microsoft) · docs.github.com](https://docs.github.com/en/get-started/accessibility/keyboard-shortcuts), retrieved November 19, 2026 (2026-11-19)
- Page: https://www.modandkey.com/github-keyboard-shortcuts/mac
- Also: [Windows](https://www.modandkey.com/md/github-keyboard-shortcuts.md), [Linux](https://www.modandkey.com/md/github-keyboard-shortcuts/linux.md), [de](https://www.modandkey.com/md/de/github-tastenkombinationen/mac.md), [es](https://www.modandkey.com/md/es/atajos-de-teclado-github/mac.md), [fr](https://www.modandkey.com/md/fr/raccourcis-clavier-github/mac.md)
- Unofficial reference. Not affiliated with GitHub (Microsoft).

## Site & code browsing

| 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 | ⇧J |
| Move focus to hovercard | ⌥↑ |

## Editing files

| Command | Shortcut |
|---|---|
| Find in file | ⌘F |
| Find next | ⌘G |
| Find previous | ⇧⌘G |
| Replace | ⌥⌘F |
| Replace all | ⌥⇧⌘F |
| Jump to line (editor) | ⌥G |
| Undo | ⌘Z |
| Redo | ⌘Y |
| Write a commit message | ⌘S |

## Markdown & comments

| Command | Shortcut |
|---|---|
| Bold | ⌘B |
| Italic | ⌘I |
| Inline code | ⌘E |
| Insert link | ⌘K |
| Numbered list | ⇧⌘7 |
| Bulleted list | ⇧⌘8 |
| Quote | ⇧⌘. |
| Write / Preview tab | ⇧⌘P |
| Paste link as plain text | ⇧⌘V |
| Submit comment | ⌘↩ |
| Quote selection in reply | R |

## Issues & pull requests

| Command | Shortcut |
|---|---|
| Create an issue | C |
| Focus issue / PR search bar | ⌘/ |
| 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 | ⌥⇧C |
| Edit parent issue | ⌥⇧P |
| Submit a review comment | ⇧⌘↩ |

## Notifications & Actions

| Command | Shortcut |
|---|---|
| Mark as unread | ⇧U |
| Mark as read | ⇧I |
| Unsubscribe | ⇧M |
| Toggle timestamps in logs | ⇧T |
| Toggle full-screen logs | ⇧F |
| Workflow editor suggestions | ⌘Space |
