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.

Dev Tools·51 commands·Last updated 2026-07-21

Repository Browsing 8

T
Open file finder
Y
Convert URL to a permalink
W
Switch branch/tag selector
B
Open Issue template
I
Open Issues list
P
Open MRs list
C
Create new file
U
Up to parent directory

Code Browsing 7

1-9
Jump to a line number
Cmd + /
Toggle line comment
Cmd + F
Search file content
Cmd + G
Go to next match
Cmd + Shift + G
Go to previous match
Cmd + Shift + F
Search globally
Cmd + Shift + P
Open Command Palette

Issues & MRs 11

C
Create new Issue/MR
Cmd + Enter
Submit comment
Cmd + Option + Enter
Close and comment
Cmd + Shift + P
Toggle preview/edit
Cmd + B
Bold text
Cmd + I
Italic text
Cmd + K
Insert link
Cmd + Option + I
Insert image
Cmd + Shift + 7
Ordered list
Cmd + Shift + 8
Unordered list
Cmd + Shift + 9
Task list

Code Review 6

Cmd + Enter
Submit review
Cmd + Option + Enter
Approve MR
Cmd + Shift + Enter
Request changes
Cmd + Shift + 7
Add single-line comment
Cmd + Shift + 8
Add multi-line comment
Cmd + Shift + 9
Add pending comment

Markdown Editing 10

Cmd + B
Bold
Cmd + I
Italic
Cmd + K
Insert link
Cmd + Option + I
Insert image
Cmd + Shift + 7
Ordered list
Cmd + Shift + 8
Unordered list
Cmd + Shift + 9
Task list
Cmd + Shift + .
Quote
Cmd + Shift + C
Code block
Cmd + Shift + H
Heading

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