Christmas gifts: delivery dates and last-minute ideas.10% off: MODKEY10 Gift guide →

GitHub keyboard shortcuts (Linux)

GitHub PosterGet 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 · Desk mat · Paper

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

Modifier
Keyboard
Point at or tap a key.

More shortcuts on this key with other modifiers.

Key alone18 keys

All GitHub keyboard shortcuts for Linux

49 shortcuts

Site & code browsing12

CommandShortcut
Focus the search barS
Show keyboard shortcuts?
Open in github.dev editor.
File finderT
Jump to a lineL
Switch branch or tagW
Permanent link (canonical URL)Y
Open blame viewB
Show / hide comments on diffsI
Edit fileE
Highlight the selected lineShift+J
Move focus to hovercardAlt+↑

Editing files9

CommandShortcut
Find in fileCtrl+F
Find nextCtrl+G
Find previousCtrl+Shift+G
ReplaceCtrl+Shift+F
Replace allCtrl+Shift+R
Jump to line (editor)Alt+G
UndoCtrl+Z
RedoCtrl+Y
Write a commit messageCtrl+S

Markdown & comments11

CommandShortcut
BoldCtrl+B
ItalicCtrl+I
Inline codeCtrl+E
Insert linkCtrl+K
Numbered listCtrl+Shift+7
Bulleted listCtrl+Shift+8
QuoteCtrl+Shift+.
Write / Preview tabCtrl+Shift+P
Paste link as plain textCtrl+Shift+V
Submit commentCtrl+Enter
Quote selection in replyR

Issues & pull requests11

CommandShortcut
Create an issueC
Focus issue / PR search barCtrl+/
Filter by authorU
Filter by / edit milestoneM
Filter by / edit assigneeA
Open issueO
Request a reviewerQ
Link an issue or pull requestX
Create a sub-issueAlt+Shift+C
Edit parent issueAlt+Shift+P
Submit a review commentCtrl+Shift+Enter

Notifications & Actions6

CommandShortcut
Mark as unreadShift+U
Mark as readShift+I
UnsubscribeShift+M
Toggle timestamps in logsShift+T
Toggle full-screen logsShift+F
Workflow editor suggestionsCtrl+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.

Learn it, then print it