GitLab Cheatsheet - Code Hosting Platform Shortcut Reference
GitLab’s keystrokes differ from GitHub’s in details, and the review flow is where they save the most time. This reference covers global navigation, repo/file search, Issue/MR shortcuts, and Merge-Request review and commenting. Use it when your team standardizes on GitLab CE/EE and you want keyboard-first reviewing and MR triage. After reading you navigate projects, files and MR threads as fast as you click, but with less mousing around.
Repository Browsing 8
TOpen file finder
YConvert URL to a permalink
WSwitch branch/tag selector
BOpen Issue template
IOpen Issues list
POpen MRs list
CCreate new file
UUp to parent directory
Code Browsing 7
1-9Jump to a line number
Cmd + /Toggle line comment
Cmd + FSearch file content
Cmd + GGo to next match
Cmd + Shift + GGo to previous match
Cmd + Shift + FSearch globally
Cmd + Shift + POpen Command Palette
Issues & MRs 11
CCreate new Issue/MR
Cmd + EnterSubmit comment
Cmd + Option + EnterClose and comment
Cmd + Shift + PToggle preview/edit
Cmd + BBold text
Cmd + IItalic text
Cmd + KInsert link
Cmd + Option + IInsert image
Cmd + Shift + 7Ordered list
Cmd + Shift + 8Unordered list
Cmd + Shift + 9Task list
Code Review 6
Cmd + EnterSubmit review
Cmd + Option + EnterApprove MR
Cmd + Shift + EnterRequest changes
Cmd + Shift + 7Add single-line comment
Cmd + Shift + 8Add multi-line comment
Cmd + Shift + 9Add pending comment
Markdown Editing 10
Cmd + BBold
Cmd + IItalic
Cmd + KInsert link
Cmd + Option + IInsert image
Cmd + Shift + 7Ordered list
Cmd + Shift + 8Unordered list
Cmd + Shift + 9Task list
Cmd + Shift + .Quote
Cmd + Shift + CCode block
Cmd + Shift + HHeading
Tips
- The T key opens the file finder - much faster than clicking, with fuzzy filename matching.
- The Y key converts the URL to a permalink (commit hash) to share a specific version.
- Cmd+Enter submits a comment, Cmd+Option+Enter closes and comments - no button clicking.
- During code review, Cmd+Shift+7 quickly adds a single-line comment.
- The Markdown editor supports Cmd+B bold, Cmd+I italic, Cmd+K insert link.
- The ? key shows all keyboard shortcuts - check anytime.
Official References
Each command links to its official documentation below, so you can verify the latest usage and read deeper.
Maintained by LaoHand
Publicly updated on Jul 21, 2026, continuously proofread against official docs.
Contact Us
Wrong command or description? Send us corrections, business inquiries or product feedback by email.
Contact Us