shortcuts.md 3.42 KB
Newer Older
Karen Carias's avatar
Karen Carias committed
1 2 3 4
# GitLab keyboard shortcuts

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

5 6 7 8
## Global Shortcuts

| Keyboard Shortcut | Description |
| ----------------- | ----------- |
9
| <kbd>n</kbd> | Main navigation |
10
| <kbd>s</kbd> | Focus search |
11
| <kbd>f</kbd> | Focus filter |
12
| <kbd>p</kbd> + <kbd>b</kbd> | Show/hide the Performance Bar |
13
| <kbd>?</kbd> | Show/hide this dialog |
14
| <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>p</kbd> | Toggle markdown preview |
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
| <kbd></kbd> | Edit last comment (when focused on an empty textarea) |

## Project Files Browsing

| Keyboard Shortcut | Description |
| ----------------- | ----------- |
| <kbd></kbd> | Move selection up |
| <kbd></kbd> | Move selection down |
| <kbd>enter</kbd> | Open selection |

## Finding Project File

| Keyboard Shortcut | Description |
| ----------------- | ----------- |
| <kbd></kbd> | Move selection up |
| <kbd></kbd> | Move selection down |
| <kbd>enter</kbd> | Open selection |
| <kbd>esc</kbd> | Go back |

## Global Dashboard

| Keyboard Shortcut | Description |
| ----------------- | ----------- |
| <kbd>g</kbd> + <kbd>a</kbd> | Go to the activity feed |
| <kbd>g</kbd> + <kbd>p</kbd> | Go to projects |
| <kbd>g</kbd> + <kbd>i</kbd> | Go to issues |
| <kbd>g</kbd> + <kbd>m</kbd> | Go to merge requests |
42
| <kbd>g</kbd> + <kbd>t</kbd> | Go to todos |
43 44 45 46 47 48

## Project

| Keyboard Shortcut | Description |
| ----------------- | ----------- |
| <kbd>g</kbd> + <kbd>p</kbd> | Go to the project's home page |
49
| <kbd>g</kbd> + <kbd>v</kbd> | Go to the project's activity feed |
50 51
| <kbd>g</kbd> + <kbd>f</kbd> | Go to files |
| <kbd>g</kbd> + <kbd>c</kbd> | Go to commits |
52
| <kbd>g</kbd> + <kbd>j</kbd> | Go to jobs |
53
| <kbd>g</kbd> + <kbd>n</kbd> | Go to network graph |
54
| <kbd>g</kbd> + <kbd>d</kbd> | Go to repository charts |
55
| <kbd>g</kbd> + <kbd>i</kbd> | Go to issues |
56
| <kbd>g</kbd> + <kbd>b</kbd> | Go to issue boards |
57
| <kbd>g</kbd> + <kbd>m</kbd> | Go to merge requests |
58 59
| <kbd>g</kbd> + <kbd>e</kbd> | Go to environments |
| <kbd>g</kbd> + <kbd>k</kbd> | Go to kubernetes |
60
| <kbd>g</kbd> + <kbd>s</kbd> | Go to snippets |
61
| <kbd>g</kbd> + <kbd>w</kbd> | Go to wiki |
62 63 64 65 66 67 68 69 70 71 72
| <kbd>t</kbd> | Go to finding file |
| <kbd>i</kbd> | New issue |

## Network Graph

| Keyboard Shortcut | Description |
| ----------------- | ----------- |
| <kbd></kbd> or <kbd>h</kbd> | Scroll left |
| <kbd></kbd> or <kbd>l</kbd> | Scroll right |
| <kbd></kbd> or <kbd>k</kbd> | Scroll up |
| <kbd></kbd> or <kbd>j</kbd> | Scroll down |
73 74
| <kbd>Shift</kbd> + <kbd></kbd> or <kbd>Shift</kbd> + <kbd>k</kbd> | Scroll to top |
| <kbd>Shift</kbd> + <kbd></kbd> or <kbd>Shift</kbd> + <kbd>j</kbd> | Scroll to bottom |
75 76 77 78 79 80 81 82 83

## Issues and Merge Requests

| Keyboard Shortcut | Description |
| ----------------- | ----------- |
| <kbd>a</kbd> | Change assignee |
| <kbd>m</kbd> | Change milestone |
| <kbd>r</kbd> | Reply (quoting selected text) |
| <kbd>e</kbd> | Edit issue/merge request |
84
| <kbd>l</kbd> | Change label |
85 86
| <kbd>]</kbd> or <kbd>j</kbd> | Move to next file |
| <kbd>[</kbd> or <kbd>k</kbd> | Move to previous file |
87 88 89 90 91 92

## Wiki pages

| Keyboard Shortcut | Description |
| ----------------- | ----------- |
| <kbd>e</kbd> | Edit wiki page|
93 94 95 96 97

## Web IDE

| Keyboard Shortcut | Description |
| ----------------- | ----------- |
98
| <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> + <kbd>p</kbd> | Go to file |
99
| <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> + <kbd>Enter</kbd> | Commit (when editing the commit message) |