Skip to content

↑↓ moveEnter openEsc close

Insert code in GitHub

GitHub github.com (November 2026) · 36 shortcuts · checked Nov 2026 · Source: GitHub (Microsoft) docs

In GitHub, press Cmd+E (Mac), Ctrl+E (Windows, Linux). Works when: comment box.

What else uses Cmd+E? · What else uses Ctrl+E?

More GitHub shortcuts: writing

ActionMacWindowsLinux
BoldCmdBCtrlBCtrlB
ItalicCmdICtrlICtrlI
Insert a linkCmdKCtrlKCtrlK

All 36 GitHub shortcuts