GitLab Documentation

GitLab keyboard shortcuts

You can see GitLab's keyboard shortcuts by using 'shift + ?'

Global Shortcuts

Keyboard Shortcut Description
s Focus search
? Show/hide this dialog
+ shift + p Toggle markdown preview
Edit last comment (when focused on an empty textarea)

Project Files Browsing

Keyboard Shortcut Description
Move selection up
Move selection down
enter Open selection

Finding Project File

Keyboard Shortcut Description
Move selection up
Move selection down
enter Open selection
esc Go back

Global Dashboard

Keyboard Shortcut Description
g + a Go to the activity feed
g + p Go to projects
g + i Go to issues
g + m Go to merge requests
g + t Go to todos

Project

Keyboard Shortcut Description
g + p Go to the project's home page
g + e Go to the project's activity feed
g + f Go to files
g + c Go to commits
g + b Go to jobs
g + n Go to network graph
g + g Go to repository charts
g + i Go to issues
g + m Go to merge requests
g + s Go to snippets
t Go to finding file
i New issue

Network Graph

Keyboard Shortcut Description
or h Scroll left
or l Scroll right
or k Scroll up
or j Scroll down
shift + or shift + k Scroll to top
shift + or shift + j Scroll to bottom

Issues and Merge Requests

Keyboard Shortcut Description
a Change assignee
m Change milestone
r Reply (quoting selected text)
e Edit issue/merge request
l Change label