VOOZH about

URL: https://docs.github.com/en/enterprise-server@3.3/get-started/using-github/keyboard-shortcuts

⇱ Keyboard shortcuts - GitHub Enterprise Server 3.3 Docs


Skip to main content

This version of GitHub Enterprise was discontinued on 2023-01-18. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Keyboard shortcuts

In this article

Nearly every page on GitHub has a keyboard shortcut to perform actions faster.

About keyboard shortcuts

Typing on GitHub 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.

The following sections list some of the available keyboard shortcuts, organized by the pages where you can use them on your GitHub Enterprise Server instance.

Site wide shortcuts

Keyboard shortcutDescription
or Focus the search bar. For more information, see "About searching on GitHub."
Go to your notifications. For more information, see "About notifications."
When focused on a user, issue, or pull request hovercard, closes the hovercard and refocuses on the element the hovercard is in

Repositories

Keyboard shortcutDescription
Go to the Code tab
Go to the Issues tab. For more information, see "About issues."
Go to the Pull requests tab. For more information, see "About pull requests."
Go to the Actions tab. For more information, see "About Actions."
Go to the Projects tab. For more information, see "About project boards."
Go to the Wiki tab. For more information, see "About wikis."

Source code editing

Keyboard shortcutDescription
+ (Mac) or
+ (Windows/Linux)
Inserts Markdown formatting for bolding text
+ (Mac) or
+ (Windows/Linux)
Inserts Markdown formatting for italicizing text
+ (Mac) or
+ (Windows/Linux)
Inserts Markdown formatting for creating a link
Open source code file in the Edit file tab
+ (Mac) or
+ (Windows/Linux)
Start searching in file editor
+ (Mac) or
+ (Windows/Linux)
Find next
++ (Mac) or
++ (Windows/Linux)
Find previous
++ (Mac) or
++ (Windows/Linux)
Replace
+++ (Mac) or
++ (Windows/Linux)
Replace all
+Jump to line
+ (Mac) or
+ (Windows/Linux)
Undo
+ (Mac) or
+ (Windows/Linux)
Redo
++Toggles between the Edit file and Preview changes tabs
+ (Mac) or
+ (Windows/Linux)
Write a commit message

For more keyboard shortcuts, see the CodeMirror documentation.

Source code browsing

Keyboard shortcutDescription
Activates the file finder
Jump to a line in your code
Switch to a new branch or tag
Expand a URL to its canonical form. For more information, see "Getting permanent links to files."
Show or hide comments on diffs. For more information, see "Commenting on the diff of a pull request."
Show or hide annotations on diffs
Open blame view. For more information, see "Tracing changes in a file."

Comments

Keyboard shortcutDescription
+ (Mac) or
+ (Windows/Linux)
Inserts Markdown formatting for bolding text
+ (Mac) or
+ (Windows/Linux)
Inserts Markdown formatting for italicizing text
+ (Mac) or
+ (Windows/Linux)
Inserts Markdown formatting for code or a command within a line
+ (Mac) or
+ (Windows/Linux)
Inserts Markdown formatting for creating a link
++ (Mac) or
++ (Windows/Linux)
Toggles between the Write and Preview comment tabs
+++ (Mac) or
+++ (Windows/Linux)
Pastes HTML link as plain text
++ (Mac) or
++ (Windows/Linux)
Inserts Markdown formatting for an ordered list
++ (Mac) or
++ (Windows/Linux)
Inserts Markdown formatting for an unordered list
+ (Mac) or
+ (Windows/Linux)
Submits a comment
+ and then +Opens saved replies menu and then autofills comment field with a saved reply. For more information, see "About saved replies."
++ (Mac) or
++ (Windows/Linux)
Inserts Markdown formatting for a quote
Quote the selected text in your reply. For more information, see "Basic writing and formatting syntax."

Issue and pull request lists

Keyboard shortcutDescription
Create an issue
+ (Mac) or
+ (Windows/Linux)
Focus your cursor on the issues or pull requests search bar. For more information, see "Filtering and searching issues and pull requests."
Filter by author
Filter by or edit labels. For more information, see "Filtering issues and pull requests by labels."
and clickWhile filtering by labels, exclude labels. For more information, see "Filtering issues and pull requests by labels."
Filter by or edit milestones. For more information, see "Filtering issues and pull requests by milestone."
Filter by or edit assignee. For more information, see "Filtering issues and pull requests by assignees."
or Open issue

Issues and pull requests

Keyboard shortcutDescription
Request a reviewer. For more information, see "Requesting a pull request review."
Set a milestone. For more information, see "Associating milestones with issues and pull requests."
Apply a label. For more information, see "Applying labels to issues and pull requests."
Set an assignee. For more information, see "Assigning issues and pull requests to other GitHub users."
Link an issue or pull request from the same repository. For more information, see "Linking a pull request to an issue."
++ (Mac) or
++ (Windows/Linux)
Toggles between the Write and Preview tabs

"Files changed" tab in pull requests

Keyboard shortcutDescription
Open the Commits dropdown menu to filter which commits are shown in the diffs
Move your cursor to the "Filter changed files" field
++ (Mac) or ++ (Windows/Linux)Submit a review comment
and click (Mac) or and click (Windows/Linux)Toggle between collapsing and expanding all outdated or resolved review comments in a pull request (for example, by holding down and clicking Show outdated or Hide outdated)
Click, then and clickComment on multiple lines of a pull request by clicking a line number, holding , then clicking another line number. For more information, see "Commenting on a pull request."

Project boards

Moving a column

Keyboard shortcutDescription
or Start moving the focused column
Cancel the move in progress
Complete the move in progress
or Move column to the left
+ or + (Mac) or
+ or + (Windows/Linux)
Move column to the leftmost position
or Move column to the right
+ or + (Mac) or
+ or + (Windows/Linux)
Move column to the rightmost position

Moving a card

Keyboard shortcutDescription
or Start moving the focused card
Cancel the move in progress
Complete the move in progress
or Move card down
+ or + (Mac) or
+ or + (Windows/Linux)
Move card to the bottom of the column
or Move card up
+ or + (Mac) or
+ or + (Windows/Linux)
Move card to the top of the column
or Move card to the bottom of the column on the left
+ or +Move card to the top of the column on the left
+ or + (Mac) or
+ or + (Windows/Linux)
Move card to the bottom of the leftmost column
++ or ++ (Mac) or
++ or ++ (Windows/Linux)
Move card to the top of the leftmost column
Move card to the bottom of the column on the right
+ or +Move card to the top of the column on the right
+ or + (Mac) or
+ or + (Windows/Linux)
Move card to the bottom of the rightmost column
++ or ++ (Mac) or
++ or ++ (Windows/Linux)
Move card to the bottom of the rightmost column

Previewing a card

Keyboard shortcutDescription
Close the card preview pane

Notifications

Keyboard shortcutDescription
Mark as done
+Mark as unread
+Mark as read
+Unsubscribe

Network graph

Keyboard shortcutDescription
or Scroll left
or Scroll right
or Scroll up
or Scroll down
+ (Mac) or
+ (Windows/Linux)
Scroll all the way left
+ (Mac) or
+ (Windows/Linux)
Scroll all the way right
+ (Mac) or
+ (Windows/Linux)
Scroll all the way up
+ (Mac) or
+ (Windows/Linux)
Scroll all the way down