GitLab (macOS) keyboard shortcuts 

GitLab (macOS)  

Zeynel -
2 years ago
- Shortcuts
0
?

Show or hide the shortcut reference sheet

-1
↑  Shift + P

Go to your Projects page

0
↑  Shift + G

Go to your Groups page

0
↑  Shift + A

Go to your Activity page

0
↑  Shift + L

Go to your Milestones page

0
↑  Shift + S

Go to your Snippets page

0
S

Put cursor in the search bar

0
or /
0
F

Put cursor in the filter bar

0
↑  Shift + I

Go to your Issues page

0
↑  Shift + M

Go to your Merge requests page

0
↑  Shift + T

Go to your To-Do List page

0
P then B

Show or hide the Performance Bar

0
Esc

Hide tooltips or popovers

0
G then X

Toggle between GitLab and GitLab Next (GitLab SaaS only)

0
.

Open the Web IDE

Advertisement

These shortcuts are available for comments, replies, issue descriptions, and merge request descriptions.
0

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

0
Ctrl + ↑  Shift + P

Toggle Markdown preview when editing text in a text field that has Write and Preview tabs at the top

0
Ctrl + B

Bold the selected text (surround it with **)

0
Ctrl + I

Italicize the selected text (surround it with _)

0
Ctrl + ↑  Shift + X

Strike through the selected text (surround it with ~~)

0
Ctrl + K

Add a link (surround the selected text with []())

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

Go to the project home page (Project > Details).

0
G then V

Go to the project activity feed (Project > Activity).

0
G then R

Go to the project releases list (Project > Releases).

0
G then F

Go to the project files list (Repository > Files).

0
T

Go to the project file search page. (Repository > Files, select Find Files).

0
G then C

Go to the project commits list (Repository > Commits).

0
G then N

Go to the repository graph page (Repository > Graph).

0
G then D

Go to repository charts (Analytics > Repository Analytics).

0
G then I

Go to the project issues list (Issues > List).

0
I

Go to the New Issue page (Issues, select New Issue ).

0
G then B

Go to the project issue boards list (Issues > Boards).

0
G then M

Go to the project merge requests list (Merge Requests).

0
G then J

Go to the CI/CD jobs list (CI/CD > Jobs).

0
G then L

Go to the project metrics (Monitor > Metrics).

0
G then E

Go to the project environments (Deployments > Environments).

0
G then K

Go to the project Kubernetes cluster integration page (Infrastructure > Kubernetes clusters). You must have at least maintainer permissions to access this page.

0
G then S

Go to the project snippets list (Snippets).

0
G then W

Go to the project wiki (Wiki), if enabled.

0
.

Open the Web IDE.

0
E

Edit description.

0
A

Change assignee.

0
M

Change milestone.

0
L

Change label.

0
R

Start writing a comment. Pre-selected text is quoted in the comment. Can’t be used to reply in a thread.

0
.

Open the Web IDE.

0

Go to the next design.

0

Go to the previous design.

0
Esc

Close the design.

0
]

Move to next file

0
or J
0
[

Move to previous file

Advertisement

0
or K
0
⌘ Cmd + P

Search for, and then jump to a file for review

0
N

Move to next unresolved discussion

0
P

Move to previous unresolved discussion

0
B

Copy source branch name

0
R

Start writing a comment. Pre-selected text is quoted in the comment. Can’t be used to reply in a thread

0
C

Move to next commit

0
X

Move to previous commit

0

Move selection up.

0

Move selection down.

0
⤶ Enter

Open selection.

0
Esc

Go back to file list screen (only while searching for files, Repository > Files, then select Find File).

0
Y

Go to file permalink (only while viewing a file).

0
.

Open the Web IDE.

0
⌥ Opt + ⌘ Cmd +

Add cursor above

0
⌥ Opt + ⌘ Cmd +

Add cursor below

0
↑  Shift + ⌥ Opt + I

Add cursors to line ends

0
⌘ Cmd + K then ⌘ Cmd + C

Add line comment

0
or ⌘ Cmd + D
0
⌘ Cmd + F2

Add selection to next find match

0
F1

Change all occurrences

0
↑  Shift + ⌥ Opt +

Command palette

0
↑  Shift + ⌥ Opt +

Copy line down

0
⌘ Cmd + U

Copy line up (Linux note)

0
⌘ Cmd + Backspace

Cursor undo

0
Control + K

Delete all left

0
↑  Shift + ⌘ Cmd + K

Delete line

0
Control + ↑  Shift + ⌘ Cmd +

Expand selection

0
⌘ Cmd + P

File finder

0
⌘ Cmd + F

Find

0
⤶ Enter

Find next

0
or ⌘ Cmd + F3
0
↑  Shift + ⤶ Enter + F3

Find next selection (Linux note)

0
↑  Shift + ⌘ Cmd + F3

Find previous

0
⌘ Cmd + E

Find previous selection

0
⌥ Opt + ⌘ Cmd + [

Fold

0
⌘ Cmd + K then ⌘ Cmd + O

Fold all

0
⌘ Cmd + K then ⌘ Cmd + /

Fold all block comments

0
⌘ Cmd + K then ⌘ Cmd + 8

Fold all regions

0
⌘ Cmd + K then ⌘ Cmd + +

Fold all regions except selected

0
⌘ Cmd + K then ⌘ Cmd + 1

Fold level 1

0
⌘ Cmd + K then ⌘ Cmd + 2

Fold level 2

0
⌘ Cmd + K then ⌘ Cmd + 3

Fold level 3

0
⌘ Cmd + K then ⌘ Cmd + 4

Fold level 4

0
⌘ Cmd + K then ⌘ Cmd + 5

Fold level 5

0
⌘ Cmd + K then ⌘ Cmd + 6

Fold level 6

0
⌘ Cmd + K then ⌘ Cmd + 7

Fold level 7

0
⌘ Cmd + K then ⌘ Cmd + [

Fold recursively

0
↑  Shift + ⌘ Cmd + \

Go to bracket

0
Control + G

Go to line or column

0
⌥ Opt + F8

Go to next problem (error, warning, information)

0
F8

Go to next problem in files (error, warning, information)

0
↑  Shift + ⌥ Opt + F8

Go to previous problem (error, warning, information)

0
↑  Shift + F8

Go to previous problem in files (error, warning, information)

0
⌘ Cmd + ]

Indent line

0
↑  Shift + ⌘ Cmd

Insert line above

0
⌘ Cmd + ⤶ Enter

Insert line below

0
Control + J

Join lines (Linux note)

0
⌘ Cmd + K then ⌘ Cmd + D

Move last selection to next find match

0
⌥ Opt +

Move line down

0
⌥ Opt +

Move line up

0
⌘ Cmd + [

Outdent line

0
↑  Shift + ⌘ Cmd + P

Preview Markdown (Linux note)

0
⌘ Cmd + K then ⌘ Cmd + U

Remove line comment

0
or ⌥ Opt + ⌘ Cmd + F
0
↑  Shift + ⌘ Cmd + .

Replace

0
↑  Shift + ⌘ Cmd + ,

Replace with next value

0
⌘ Cmd + S

Replace with previous value

0
↑  Shift + ⌘ Cmd + L

Save files

0
⌘ Cmd + K then ⌘ Cmd + B

Select all occurrences of find match

0
⌥ Opt + F1

Set selection anchor

0
↑  Shift + F10

Show accessibility help

0
⌘ Cmd + K then ⌘ Cmd + I

Show editor context menu

0
Control + ↑  Shift + ⌘ Cmd +

Show hover

0
↑  Shift + ⌥ Opt + A

Shrink selection

0
⌘ Cmd + K then ⌘ Cmd + L

Toggle block comment

0
Control + ↑  Shift + M

Toggle fold

0
⌘ Cmd + /

Toggle Tab key moves focus

0
Control + T

Toggle line comment

0
Control + Space

Trigger Suggest

0
⌘ Cmd + K then ⌘ Cmd + X

Trim trailing whitespace

0
⌥ Opt + ⌘ Cmd + ]

Unfold

0
⌘ Cmd + K then ⌘ Cmd + J

Unfold all

0
⌘ Cmd + K then ⌘ Cmd + 9

Unfold all regions

0
⌘ Cmd + K then ⌘ Cmd + =

Unfold all regions except selected

0
⌘ Cmd + K then ⌘ Cmd + ]

Unfold recursively

0
⌘ Cmd + K then ⌘ Cmd + X

Trim trailing whitespace

0
⌘ Cmd + ⤶ Enter

Commit (when editing the commit message).


Share this page on:
Is this page helpful?
0 0

Program information

Program name: GitLab (macOS) GitLab (macOS) (Developer tools)

Web page: gitlab.com

How easy to press shortcuts: 75%

More information >>

Shortcut count: 198

Platform detected: macOS

Similar programs



User operations

Add GitLab (macOS) to your list of favorites

Advertisement


What is your favorite GitLab (macOS) hotkey? Do you have any useful tips for it? Let other users know below.


Only registered users can post links.
 
No comments yet. Ask, or type the first one!

Latest articles