Using keyboard shortcuts
Nearly every page on GitHub Enterprise has a keyboard shortcut to perform actions faster.
Typing ? in GitHub Enterprise brings up a dialog box that lists the keyboard shortcuts available for that page. You can use these keyboard shortcuts to perform actions across the site without using your mouse to navigate.
Below is a list of some of the available keyboard shortcuts.
Keyboard Shortcut |
Description |
g
c
|
Go to the
Code
tab |
g
i
|
Go to the
Issues
tab. For more information, see "About issues." |
g
p
|
Go to the
Pull requests
tab. For more information, see "About pull requests." |
g
b
|
Go to the
Projects
tab. For more information, see "About project boards." |
g
w
|
Go to the
Wiki
tab. For more information, see "About wikis." |
Keyboard Shortcut |
Description |
control f
or
command f
|
Start searching in file editor |
control g
or
command g
|
Find next |
shift control g
or
shift command g
|
Find previous |
shift control f
or
command option f
|
Replace |
shift control r
or
shift command option f
|
Replace all |
alt g
|
Jump to line |
control z
or
command z
|
Undo |
control y
or
command y
|
Redo |
For more keyboard shortcuts, see the CodeMirror documentation.
Keyboard Shortcut |
Description |
control b
or
command b
|
Inserts Markdown formatting for bolding text |
control i
or
command i
|
Inserts Markdown formatting for italicizing text |
control k
or
command k
|
Inserts Markdown formatting for creating a link |
control shift p
or
command shift p
|
Toggles between the
Write
and
Preview
comment tabs |
control enter
|
Submits a comment |
r
|
Quote the selected text in your reply. For more information, see "Basic writing and formatting syntax." |
Keyboard Shortcut |
Description |
c
|
Open the list of commits in the pull request |
t
|
Open the list of changed files in the pull request |
j
|
Move selection down in the list |
k
|
Move selection up in the list |
Keyboard Shortcut |
Description |
enter
or
space
|
Start moving the focused column |
escape
|
Cancel the move in progress |
enter
|
Complete the move in progress |
←
or
h
|
Move column to the left |
command ←
or
command h
or
control ←
or
control h
|
Move column to the leftmost position |
→
or
l
|
Move column to the right |
command →
or
command l
or
control →
or
control l
|
Move column to the rightmost position |
Keyboard Shortcut |
Description |
enter
or
space
|
Start moving the focused card |
escape
|
Cancel the move in progress |
enter
|
Complete the move in progress |
↓
or
j
|
Move card down |
command ↓
or
command j
or
control ↓
or
control j
|
Move card to the bottom of the column |
↑
or
k
|
Move card up |
command ↑
or
command k
or
control ↑
or
control k
|
Move card to the top of the column |
←
or
h
|
Move card to the bottom of the column on the left |
shift ←
or
shift h
|
Move card to the top of the column on the left |
command ←
or
command h
or
control ←
or
control h
|
Move card to the bottom of the leftmost column |
command shift ←
or
command shift h
or
control shift ←
or
control shift h
|
Move card to the top of the leftmost column |
→
|
Move card to the bottom of the column on the right |
shift →
or
shift l
|
Move card to the top of the column on the right |
command →
or
command l
or
control →
or
control l
|
Move card to the bottom of the rightmost column |
command shift →
or
command shift l
or
control shift →
or
control shift l
|
Move card to the bottom of the rightmost column |
Keyboard Shortcut |
Description |
e
or
I
or
y
|
Mark as read |
shift m
|
Mute thread |
Keyboard Shortcut |
Description |
←
or
h
|
Scroll left |
→
or
l
|
Scroll right |
↑
or
k
|
Scroll up |
↓
or
j
|
Scroll down |
shift ←
or
shift h
|
Scroll all the way left |
shift →
or
shift l
|
Scroll all the way right |
shift ↑
or
shift k
|
Scroll all the way up |
shift ↓
or
shift j
|
Scroll all the way down |