GitLab keyboard shortcuts

GitLab has many useful keyboard shortcuts to make it easier to access different features. You can see a modal listing keyboard shortcuts within GitLab itself by pressing ?, or clicking Keyboard shortcuts in the Help menu at the top right. In GitLab 12.8 and later, keyboard shortcuts can be disabled using the Enable/Disable toggle in this modal window.

The Global Shortcuts work from any area of GitLab, but you must be in specific pages for the other shortcuts to be available, as explained in each section below.

Global Shortcuts

These shortcuts are available in most areas of GitLab

Keyboard Shortcut Description
? Show/hide shortcut reference sheet.
Shift + p Go to your Projects page.
Shift + g Go to your Groups page.
Shift + a Go to your Activity page.
Shift + l Go to your Milestones page.
Shift + s Go to your Snippets page.
s / / Put cursor in the search bar.
Shift + i Go to your Issues page.
Shift + m Go to your Merge requests page.
Shift + t Go to your To-Do List page.
p + b Show/hide the Performance Bar.

Additionally, the following shortcuts are available when editing text in text fields, for example comments, replies, issue descriptions, and merge request descriptions:

Keyboard Shortcut Description
Edit your last comment. You must be in a blank text field below a thread, and you must already have at least one comment in the thread.
(Mac) / Control + Shift + p Toggle Markdown preview, when editing text in a text field that has Write and Preview tabs at the top.
(Mac) / Control + b Bold the selected text (surround it with **).
(Mac) / Control + i Italicize the selected text (surround it with _).
(Mac) / Control + k Add a link (surround the selected text with []()).
noteThe shortcuts for editing in text fields are always enabled, even when other keyboard shortcuts are disabled as explained above.


These shortcuts are available from any page within a project. You must type them relatively quickly to work, and they take you to another page in the project.

Keyboard Shortcut Description
g + p Go to the project home page (Project > Details).
g + v Go to the project activity feed (Project > Activity).
g + r Go to the project releases list (Project > Releases).
g + f Go to the project files list (Repository > Files).
t Go to the project file search page. (Repository > Files, click Find Files).
g + c Go to the project commits list (Repository > Commits).
g + n Go to the repository graph page (Repository > Graph).
g + d Go to repository charts (Analytics > Repository Analytics).
g + i Go to the project issues list (Issues > List).
i Go to the New Issue page (Issues, click New Issue ).
g + b Go to the project issue boards list (Issues > Boards).
g + m Go to the project merge requests list (Merge Requests).
g + j Go to the CI/CD jobs list (CI/CD > Jobs).
g + l Go to the project metrics (Operations > Metrics).
g + e Go to the project environments (Operations > Environments).
g + k Go to the project Kubernetes cluster integration page (Operations > Kubernetes). Note that you must have at least maintainer permissions to access this page.
g + s Go to the project snippets list (Snippets).
g + w Go to the project wiki (Wiki), if enabled.

Issues and Merge Requests

These shortcuts are available when viewing issues and merge requests.

Keyboard Shortcut Description
e Edit description.
a Change assignee.
m Change milestone.
l Change label.
r Start writing a comment. If any text is selected, it is quoted in the comment. Can’t be used to reply within a thread.
n Move to next unresolved discussion (merge requests only).
p Move to previous unresolved discussion (merge requests only).
] or j Move to next file (merge requests only).
[ or k Move to previous file (merge requests only).
b Copy source branch name (merge requests only).

Project Files

These shortcuts are available when browsing the files in a project (navigate to Repository > Files):

Keyboard Shortcut Description
Move selection up.
Move selection down.
enter Open selection.
Escape Go back to file list screen (only while searching for files, Repository > Files then click on Find File).
y Go to file permalink (only while viewing a file).


These shortcuts are available when editing a file with the Web IDE:

Keyboard Shortcut Description
(Mac) / Control + p Search for, and then open another file for editing.
(Mac) / Control + Enter Commit (when editing the commit message).

Repository Graph

These shortcuts are available when viewing the project repository graph page (navigate to Repository > 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.

Wiki pages

This shortcut is available when viewing a wiki page:

Keyboard Shortcut Description
e Edit wiki page.

These shortcuts are available when using a filtered search input:

Keyboard Shortcut Description
(Mac) + Clear entire search filter.
(Mac) / Control + Clear one token at a time.


These shortcuts are available when viewing Epics:

Keyboard Shortcut Description
r Start writing a comment. If any text is selected, it is quoted in the comment. Can’t be used to reply within a thread.
e Edit description.
l Change label.