From 167802f68f189075dec69f0ae79ea19e87b11df6 Mon Sep 17 00:00:00 2001 From: Anil Seervi Date: Tue, 28 Dec 2021 22:47:26 +0530 Subject: [PATCH 1/5] Add '+' between multiple keystroke shortcuts TODO - capitalization - more of keyboard shortcuts content style guide that's hidden --- .../using-github/keyboard-shortcuts.md | 134 +++++++++--------- 1 file changed, 67 insertions(+), 67 deletions(-) diff --git a/content/get-started/using-github/keyboard-shortcuts.md b/content/get-started/using-github/keyboard-shortcuts.md index 2265ca6c86ed..ee71e5bbbcdb 100644 --- a/content/get-started/using-github/keyboard-shortcuts.md +++ b/content/get-started/using-github/keyboard-shortcuts.md @@ -30,44 +30,44 @@ The {% data variables.product.prodname_command_palette %} also gives you quick a | Keyboard shortcut | Description |-----------|------------ |s or / | Focus the search bar. For more information, see "[About searching on {% data variables.product.company_short %}](/search-github/getting-started-with-searching-on-github/about-searching-on-github)." -|g n | Go to your notifications. For more information, see {% ifversion fpt or ghes or ghae or ghec %}"[About notifications](/github/managing-subscriptions-and-notifications-on-github/about-notifications){% else %}"[About notifications](/github/receiving-notifications-about-activity-on-github/about-notifications){% endif %}." +|g+n | Go to your notifications. For more information, see {% ifversion fpt or ghes or ghae or ghec %}"[About notifications](/github/managing-subscriptions-and-notifications-on-github/about-notifications){% else %}"[About notifications](/github/receiving-notifications-about-activity-on-github/about-notifications){% endif %}." |esc | When focused on a user, issue, or pull request hovercard, closes the hovercard and refocuses on the element the hovercard is in -{% if command-palette %}|controlk or commandk | Opens the {% data variables.product.prodname_command_palette %}. If you are editing Markdown text, open the command palette with Ctlaltk or optionk. For more information, see "[{% data variables.product.prodname_command_palette %}](/get-started/using-github/github-command-palette)."{% endif %} +{% if command-palette %}|control+k or command+k | Opens the {% data variables.product.prodname_command_palette %}. If you are editing Markdown text, open the command palette with Ctrl+alt+k or +option+k. For more information, see "[{% data variables.product.prodname_command_palette %}](/get-started/using-github/github-command-palette)."{% endif %} ## Repositories | Keyboard shortcut | Description |-----------|------------ -|g c | Go to the **Code** tab -|g i | Go to the **Issues** tab. For more information, see "[About issues](/articles/about-issues)." -|g p | Go to the **Pull requests** tab. For more information, see "[About pull requests](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)."{% ifversion fpt or ghes or ghec %} -|g a | Go to the **Actions** tab. For more information, see "[About Actions](/actions/getting-started-with-github-actions/about-github-actions)."{% endif %} -|g b | Go to the **Projects** tab. For more information, see "[About project boards](/articles/about-project-boards)." -|g w | Go to the **Wiki** tab. For more information, see "[About wikis](/communities/documenting-your-project-with-wikis/about-wikis)."{% ifversion fpt or ghec %} -|g g | Go to the **Discussions** tab. For more information, see "[About discussions](/discussions/collaborating-with-your-community-using-discussions/about-discussions)."{% endif %} +|g+c | Go to the **Code** tab +|g+i | Go to the **Issues** tab. For more information, see "[About issues](/articles/about-issues)." +|g+p | Go to the **Pull requests** tab. For more information, see "[About pull requests](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)."{% ifversion fpt or ghes or ghec %} +|g+a | Go to the **Actions** tab. For more information, see "[About Actions](/actions/getting-started-with-github-actions/about-github-actions)."{% endif %} +|g+b | Go to the **Projects** tab. For more information, see "[About project boards](/articles/about-project-boards)." +|g+w | Go to the **Wiki** tab. For more information, see "[About wikis](/communities/documenting-your-project-with-wikis/about-wikis)."{% ifversion fpt or ghec %} +|g+g | Go to the **Discussions** tab. For more information, see "[About discussions](/discussions/collaborating-with-your-community-using-discussions/about-discussions)."{% endif %} ## Source code editing | Keyboard shortcut | Description |-----------|------------{% ifversion fpt or ghec %} -|.| Opens a repository or pull request in the web-based editor. For more information, see "[Web-based editor](/codespaces/developing-in-codespaces/web-based-editor)."{% endif %} -| 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{% ifversion fpt or ghec or ghae or ghes > 3.3 %} -| control shift 7 or command shift 7 | Inserts Markdown formatting for an ordered list -| control shift 8 or command shift 8 | Inserts Markdown formatting for an unordered list -| control shift . or command shift. | Inserts Markdown formatting for a quote{% endif %} +|. | Opens a repository or pull request in the web-based editor. For more information, see "[Web-based editor](/codespaces/developing-in-codespaces/web-based-editor)."{% endif %} +|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{% ifversion fpt or ghec or ghae or ghes > 3.3 %} +|control+shift+7 or command+shift+7 | Inserts Markdown formatting for an ordered list +|control+shift+8 or command+shift+8 | Inserts Markdown formatting for an unordered list +|control+shift+. or command+shift+. | Inserts Markdown formatting for a quote{% endif %} |e | Open source code file in the **Edit file** tab -|control f or command f | Start searching in file editor -|control g or command g | Find next -|control shift g or command shift g | Find previous -|control shift f or command option f | Replace -|control shift r or command shift option f | Replace all -|alt g | Jump to line -|control z or command z | Undo -|control y or command y | Redo -|command shift p | Toggles between the **Edit file** and **Preview changes** tabs -|control s or command s | Write a commit message +|control+f or command+f | Start searching in file editor +|control+g or command+g | Find next +|control+shift+g or command+shift+g | Find previous +|control+shift+f or command+option+f | Replace +|control+shift+r or command+shift+option+f | Replace all +|alt+g | Jump to line +|control+z or command+z | Undo +|control+y or command+y | Redo +|command+shift+p | Toggles between the **Edit file** and **Preview changes** tabs +|control+s or command+s | Write a commit message For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirror.net/doc/manual.html#commands). @@ -87,28 +87,28 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr | 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{% ifversion fpt or ghae or ghes > 3.1 or ghec %} -| control e or command e | Inserts Markdown formatting for code or a command within a line{% endif %} -| 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{% ifversion fpt or ghae or ghes > 3.2 or ghec %} -| control shift 7 or command shift 7 | Inserts Markdown formatting for an ordered list -| control shift 8 or command shift 8 | Inserts Markdown formatting for an unordered list{% endif %} -| control enter | Submits a comment -| control . and then control [saved reply number] | Opens saved replies menu and then autofills comment field with a saved reply. For more information, see "[About saved replies](/articles/about-saved-replies)."{% ifversion fpt or ghae or ghes > 3.2 or ghec %} -| control shift . or command shift. | Inserts Markdown formatting for a quote{% endif %}{% ifversion fpt or ghec %} -|control g or command g | Insert a suggestion. For more information, see "[Reviewing proposed changes in a pull request](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request)." |{% endif %} -| r | Quote the selected text in your reply. For more information, see "[Basic writing and formatting syntax](/articles/basic-writing-and-formatting-syntax#quoting-text)." | +|control+b or command+b | Inserts Markdown formatting for bolding text +|control+i or command+i | Inserts Markdown formatting for italicizing text{% ifversion fpt or ghae or ghes > 3.1 or ghec %} +|control+e or command+e | Inserts Markdown formatting for code or a command within a line{% endif %} +|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{% ifversion fpt or ghae or ghes > 3.2 or ghec %} +|control+shift+7 or command+shift+7 | Inserts Markdown formatting for an ordered list +|control+shift+8 or command+shift+8 | Inserts Markdown formatting for an unordered list{% endif %} +|control+enter | Submits a comment +|control+. and then control+[saved reply number] | Opens saved replies menu and then autofills comment field with a saved reply. For more information, see "[About saved replies](/articles/about-saved-replies)."{% ifversion fpt or ghae or ghes > 3.2 or ghec %} +|control+shift+. or command+shift+. | Inserts Markdown formatting for a quote{% endif %}{% ifversion fpt or ghec %} +|control+g or command+g | Insert a suggestion. For more information, see "[Reviewing proposed changes in a pull request](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request)." |{% endif %} +|r | Quote the selected text in your reply. For more information, see "[Basic writing and formatting syntax](/articles/basic-writing-and-formatting-syntax#quoting-text)." | ## Issue and pull request lists | Keyboard shortcut | Description |-----------|------------ |c | Create an issue -| control / or command / | Focus your cursor on the issues or pull requests search bar. For more information, see "[Filtering and searching issues and pull requests](/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests)."|| +|control+/ or command+/ | Focus your cursor on the issues or pull requests search bar. For more information, see "[Filtering and searching issues and pull requests](/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests)."|| |u | Filter by author |l | Filter by or edit labels. For more information, see "[Filtering issues and pull requests by labels](/articles/filtering-issues-and-pull-requests-by-labels)." -| alt and click | While filtering by labels, exclude labels. For more information, see "[Filtering issues and pull requests by labels](/articles/filtering-issues-and-pull-requests-by-labels)." +|alt and click | While filtering by labels, exclude labels. For more information, see "[Filtering issues and pull requests by labels](/articles/filtering-issues-and-pull-requests-by-labels)." |m | Filter by or edit milestones. For more information, see "[Filtering issues and pull requests by milestone](/articles/filtering-issues-and-pull-requests-by-milestone)." |a | Filter by or edit assignee. For more information, see "[Filtering issues and pull requests by assignees](/articles/filtering-issues-and-pull-requests-by-assignees)." |o or enter | Open issue @@ -120,10 +120,10 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr |m | Set a milestone. For more information, see "[Associating milestones with issues and pull requests](/articles/associating-milestones-with-issues-and-pull-requests/)." |l | Apply a label. For more information, see "[Applying labels to issues and pull requests](/articles/applying-labels-to-issues-and-pull-requests/)." |a | Set an assignee. For more information, see "[Assigning issues and pull requests to other {% data variables.product.company_short %} users](/articles/assigning-issues-and-pull-requests-to-other-github-users/)." -|cmd + shift + p or control + shift + p | Toggles between the **Write** and **Preview** tabs{% ifversion fpt or ghec %} +|cmd+shift+p or control+shift+p | Toggles between the **Write** and **Preview** tabs{% ifversion fpt or ghec %} |alt and click | When creating an issue from a task list, open the new issue form in the current tab by holding alt and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)." |shift and click | When creating an issue from a task list, open the new issue form in a new tab by holding shift and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)." -|command or control + shift and click | When creating an issue from a task list, open the new issue form in the new window by holding command or control + shift and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)."{% endif %} +|command or control+shift and click | When creating an issue from a task list, open the new issue form in the new window by holding command or control+shift and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)."{% endif %} ## Changes in pull requests @@ -133,9 +133,9 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr |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 -| cmd + shift + enter | Add a single comment on a pull request diff | -| alt and click | Toggle between collapsing and expanding all outdated review comments in a pull request by holding down `alt` and clicking **Show outdated** or **Hide outdated**.|{% ifversion fpt or ghes or ghae or ghec %} -| Click, then shift and click | Comment on multiple lines of a pull request by clicking a line number, holding shift, then clicking another line number. For more information, see "[Commenting on a pull request](/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)."|{% endif %} +|cmd+shift+enter | Add a single comment on a pull request diff | +|alt and click | Toggle between collapsing and expanding all outdated review comments in a pull request by holding down alt and clicking **Show outdated** or **Hide outdated**.|{% ifversion fpt or ghes or ghae or ghec %} +|Click, then shift and click | Comment on multiple lines of a pull request by clicking a line number, holding shift, then clicking another line number. For more information, see "[Commenting on a pull request](/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)."|{% endif %} ## Project boards @@ -147,9 +147,9 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr |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 +|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 +|command+ or command+l or control+ or control+l | Move column to the rightmost position ### Moving a card @@ -159,17 +159,17 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr |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 +|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 +|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 +|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 +|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 ### Previewing a card @@ -182,10 +182,10 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr | Keyboard shortcut | Description |-----------|------------ -|command + space or control + space | In the workflow editor, get suggestions for your workflow file. -|g f | Go to the workflow file -|shift + t or T | Toggle timestamps in logs -|shift + f or F | Toggle full-screen logs +|command+space or control+space | In the workflow editor, get suggestions for your workflow file. +|g+f | Go to the workflow file +|shift+t or T | Toggle timestamps in logs +|shift+f or F | Toggle full-screen logs |esc | Exit full-screen logs {% endif %} @@ -196,16 +196,16 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr | Keyboard shortcut | Description |-----------|------------ |e | Mark as done -| shift + u| Mark as unread -| shift + i| Mark as read -| shift + m | Unsubscribe +|shift+u| Mark as unread +|shift+i| Mark as read +|shift+m | Unsubscribe {% else %} | Keyboard shortcut | Description |-----------|------------ |e or I or y | Mark as read -|shift + m | Mute thread +|shift+m | Mute thread {% endif %} ## Network graph @@ -216,7 +216,7 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr | 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 +|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 From e00573b8efe4fcdfb7ef3b64ee21ebaa734662f6 Mon Sep 17 00:00:00 2001 From: Anil Seervi Date: Wed, 29 Dec 2021 22:19:06 +0530 Subject: [PATCH 2/5] Replace control with Ctrl and cmd with command --- .../using-github/keyboard-shortcuts.md | 100 +++++++++--------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/content/get-started/using-github/keyboard-shortcuts.md b/content/get-started/using-github/keyboard-shortcuts.md index ee71e5bbbcdb..3a862f2d7519 100644 --- a/content/get-started/using-github/keyboard-shortcuts.md +++ b/content/get-started/using-github/keyboard-shortcuts.md @@ -30,44 +30,44 @@ The {% data variables.product.prodname_command_palette %} also gives you quick a | Keyboard shortcut | Description |-----------|------------ |s or / | Focus the search bar. For more information, see "[About searching on {% data variables.product.company_short %}](/search-github/getting-started-with-searching-on-github/about-searching-on-github)." -|g+n | Go to your notifications. For more information, see {% ifversion fpt or ghes or ghae or ghec %}"[About notifications](/github/managing-subscriptions-and-notifications-on-github/about-notifications){% else %}"[About notifications](/github/receiving-notifications-about-activity-on-github/about-notifications){% endif %}." +|g n | Go to your notifications. For more information, see {% ifversion fpt or ghes or ghae or ghec %}"[About notifications](/github/managing-subscriptions-and-notifications-on-github/about-notifications){% else %}"[About notifications](/github/receiving-notifications-about-activity-on-github/about-notifications){% endif %}." |esc | When focused on a user, issue, or pull request hovercard, closes the hovercard and refocuses on the element the hovercard is in -{% if command-palette %}|control+k or command+k | Opens the {% data variables.product.prodname_command_palette %}. If you are editing Markdown text, open the command palette with Ctrl+alt+k or +option+k. For more information, see "[{% data variables.product.prodname_command_palette %}](/get-started/using-github/github-command-palette)."{% endif %} +{% if command-palette %}|Ctrl+k or command+k | Opens the {% data variables.product.prodname_command_palette %}. If you are editing Markdown text, open the command palette with Ctrl+Alt+k or command+option+k. For more information, see "[{% data variables.product.prodname_command_palette %}](/get-started/using-github/github-command-palette)."{% endif %} ## Repositories | Keyboard shortcut | Description |-----------|------------ -|g+c | Go to the **Code** tab -|g+i | Go to the **Issues** tab. For more information, see "[About issues](/articles/about-issues)." -|g+p | Go to the **Pull requests** tab. For more information, see "[About pull requests](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)."{% ifversion fpt or ghes or ghec %} -|g+a | Go to the **Actions** tab. For more information, see "[About Actions](/actions/getting-started-with-github-actions/about-github-actions)."{% endif %} -|g+b | Go to the **Projects** tab. For more information, see "[About project boards](/articles/about-project-boards)." -|g+w | Go to the **Wiki** tab. For more information, see "[About wikis](/communities/documenting-your-project-with-wikis/about-wikis)."{% ifversion fpt or ghec %} -|g+g | Go to the **Discussions** tab. For more information, see "[About discussions](/discussions/collaborating-with-your-community-using-discussions/about-discussions)."{% endif %} +|g c | Go to the **Code** tab +|g i | Go to the **Issues** tab. For more information, see "[About issues](/articles/about-issues)." +|g p | Go to the **Pull requests** tab. For more information, see "[About pull requests](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)."{% ifversion fpt or ghes or ghec %} +|g a | Go to the **Actions** tab. For more information, see "[About Actions](/actions/getting-started-with-github-actions/about-github-actions)."{% endif %} +|g b | Go to the **Projects** tab. For more information, see "[About project boards](/articles/about-project-boards)." +|g w | Go to the **Wiki** tab. For more information, see "[About wikis](/communities/documenting-your-project-with-wikis/about-wikis)."{% ifversion fpt or ghec %} +|g g | Go to the **Discussions** tab. For more information, see "[About discussions](/discussions/collaborating-with-your-community-using-discussions/about-discussions)."{% endif %} ## Source code editing | Keyboard shortcut | Description |-----------|------------{% ifversion fpt or ghec %} |. | Opens a repository or pull request in the web-based editor. For more information, see "[Web-based editor](/codespaces/developing-in-codespaces/web-based-editor)."{% endif %} -|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{% ifversion fpt or ghec or ghae or ghes > 3.3 %} -|control+shift+7 or command+shift+7 | Inserts Markdown formatting for an ordered list -|control+shift+8 or command+shift+8 | Inserts Markdown formatting for an unordered list -|control+shift+. or command+shift+. | Inserts Markdown formatting for a quote{% endif %} +|Ctrl+b or command+b | Inserts Markdown formatting for bolding text +|Ctrl+i or command+i | Inserts Markdown formatting for italicizing text +|Ctrl+k or command+k | Inserts Markdown formatting for creating a link{% ifversion fpt or ghec or ghae or ghes > 3.3 %} +|Ctrl+shift+7 or command+shift+7 | Inserts Markdown formatting for an ordered list +|Ctrl+shift+8 or command+shift+8 | Inserts Markdown formatting for an unordered list +|Ctrl+shift+. or command+shift+. | Inserts Markdown formatting for a quote{% endif %} |e | Open source code file in the **Edit file** tab -|control+f or command+f | Start searching in file editor -|control+g or command+g | Find next -|control+shift+g or command+shift+g | Find previous -|control+shift+f or command+option+f | Replace -|control+shift+r or command+shift+option+f | Replace all -|alt+g | Jump to line -|control+z or command+z | Undo -|control+y or command+y | Redo +|Ctrl+f or command+f | Start searching in file editor +|Ctrl+g or command+g | Find next +|Ctrl+shift+g or command+shift+g | Find previous +|Ctrl+shift+f or command+option+f | Replace +|Ctrl+shift+r or command+shift+option+f | Replace all +|Alt+g | Jump to line +|Ctrl+z or command+z | Undo +|Ctrl+y or command+y | Redo |command+shift+p | Toggles between the **Edit file** and **Preview changes** tabs -|control+s or command+s | Write a commit message +|Ctrl+s or command+s | Write a commit message For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirror.net/doc/manual.html#commands). @@ -87,17 +87,17 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr | 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{% ifversion fpt or ghae or ghes > 3.1 or ghec %} -|control+e or command+e | Inserts Markdown formatting for code or a command within a line{% endif %} -|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{% ifversion fpt or ghae or ghes > 3.2 or ghec %} -|control+shift+7 or command+shift+7 | Inserts Markdown formatting for an ordered list -|control+shift+8 or command+shift+8 | Inserts Markdown formatting for an unordered list{% endif %} -|control+enter | Submits a comment -|control+. and then control+[saved reply number] | Opens saved replies menu and then autofills comment field with a saved reply. For more information, see "[About saved replies](/articles/about-saved-replies)."{% ifversion fpt or ghae or ghes > 3.2 or ghec %} -|control+shift+. or command+shift+. | Inserts Markdown formatting for a quote{% endif %}{% ifversion fpt or ghec %} -|control+g or command+g | Insert a suggestion. For more information, see "[Reviewing proposed changes in a pull request](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request)." |{% endif %} +|Ctrl+b or command+b | Inserts Markdown formatting for bolding text +|Ctrl+i or command+i | Inserts Markdown formatting for italicizing text{% ifversion fpt or ghae or ghes > 3.1 or ghec %} +|Ctrl+e or command+e | Inserts Markdown formatting for code or a command within a line{% endif %} +|Ctrl+k or command+k | Inserts Markdown formatting for creating a link +|Ctrl+shift+p or command+shift+p| Toggles between the **Write** and **Preview** comment tabs{% ifversion fpt or ghae or ghes > 3.2 or ghec %} +|Ctrl+shift+7 or command+shift+7 | Inserts Markdown formatting for an ordered list +|Ctrl+shift+8 or command+shift+8 | Inserts Markdown formatting for an unordered list{% endif %} +|Ctrl+enter | Submits a comment +|Ctrl+. and then Ctrl+[saved reply number] | Opens saved replies menu and then autofills comment field with a saved reply. For more information, see "[About saved replies](/articles/about-saved-replies)."{% ifversion fpt or ghae or ghes > 3.2 or ghec %} +|Ctrl+shift+. or command+shift+. | Inserts Markdown formatting for a quote{% endif %}{% ifversion fpt or ghec %} +|Ctrl+g or command+g | Insert a suggestion. For more information, see "[Reviewing proposed changes in a pull request](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request)." |{% endif %} |r | Quote the selected text in your reply. For more information, see "[Basic writing and formatting syntax](/articles/basic-writing-and-formatting-syntax#quoting-text)." | ## Issue and pull request lists @@ -105,7 +105,7 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr | Keyboard shortcut | Description |-----------|------------ |c | Create an issue -|control+/ or command+/ | Focus your cursor on the issues or pull requests search bar. For more information, see "[Filtering and searching issues and pull requests](/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests)."|| +|Ctrl+/ or command+/ | Focus your cursor on the issues or pull requests search bar. For more information, see "[Filtering and searching issues and pull requests](/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests)."|| |u | Filter by author |l | Filter by or edit labels. For more information, see "[Filtering issues and pull requests by labels](/articles/filtering-issues-and-pull-requests-by-labels)." |alt and click | While filtering by labels, exclude labels. For more information, see "[Filtering issues and pull requests by labels](/articles/filtering-issues-and-pull-requests-by-labels)." @@ -120,10 +120,10 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr |m | Set a milestone. For more information, see "[Associating milestones with issues and pull requests](/articles/associating-milestones-with-issues-and-pull-requests/)." |l | Apply a label. For more information, see "[Applying labels to issues and pull requests](/articles/applying-labels-to-issues-and-pull-requests/)." |a | Set an assignee. For more information, see "[Assigning issues and pull requests to other {% data variables.product.company_short %} users](/articles/assigning-issues-and-pull-requests-to-other-github-users/)." -|cmd+shift+p or control+shift+p | Toggles between the **Write** and **Preview** tabs{% ifversion fpt or ghec %} -|alt and click | When creating an issue from a task list, open the new issue form in the current tab by holding alt and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)." +|command+shift+p or Ctrl+shift+p | Toggles between the **Write** and **Preview** tabs{% ifversion fpt or ghec %} +|Alt and click | When creating an issue from a task list, open the new issue form in the current tab by holding alt and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)." |shift and click | When creating an issue from a task list, open the new issue form in a new tab by holding shift and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)." -|command or control+shift and click | When creating an issue from a task list, open the new issue form in the new window by holding command or control+shift and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)."{% endif %} +|command or Ctrl+shift and click | When creating an issue from a task list, open the new issue form in the new window by holding command or Ctrl+shift and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)."{% endif %} ## Changes in pull requests @@ -133,8 +133,8 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr |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 -|cmd+shift+enter | Add a single comment on a pull request diff | -|alt and click | Toggle between collapsing and expanding all outdated review comments in a pull request by holding down alt and clicking **Show outdated** or **Hide outdated**.|{% ifversion fpt or ghes or ghae or ghec %} +|command+shift+enter | Add a single comment on a pull request diff | +|Alt and click | Toggle between collapsing and expanding all outdated review comments in a pull request by holding down Alt and clicking **Show outdated** or **Hide outdated**.|{% ifversion fpt or ghes or ghae or ghec %} |Click, then shift and click | Comment on multiple lines of a pull request by clicking a line number, holding shift, then clicking another line number. For more information, see "[Commenting on a pull request](/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)."|{% endif %} ## Project boards @@ -147,9 +147,9 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr |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 +|command+ or command+h or Ctrl+ or Ctrl+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 +|command+ or command+l or Ctrl+ or Ctrl+l | Move column to the rightmost position ### Moving a card @@ -159,17 +159,17 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr |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 +|command+ or command+j or Ctrl+ or Ctrl+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 +|command+ or command+k or Ctrl+ or Ctrl+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 +|command+ or command+h or Ctrl+ or Ctrl+h | Move card to the bottom of the leftmost column +|command+shift+ or command+shift+h or Ctrl+shift+ or Ctrl+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 +|command+ or command+l or Ctrl+ or Ctrl+l | Move card to the bottom of the rightmost column +|command+shift+ or command+shift+l or Ctrl+shift+ or Ctrl+shift+l | Move card to the bottom of the rightmost column ### Previewing a card @@ -182,7 +182,7 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr | Keyboard shortcut | Description |-----------|------------ -|command+space or control+space | In the workflow editor, get suggestions for your workflow file. +|command+space or Ctrl+space | In the workflow editor, get suggestions for your workflow file. |g+f | Go to the workflow file |shift+t or T | Toggle timestamps in logs |shift+f or F | Toggle full-screen logs From afb73839a73556ce4fe7598a0b3c3cafcb5c414e Mon Sep 17 00:00:00 2001 From: Anil Seervi Date: Wed, 29 Dec 2021 22:44:31 +0530 Subject: [PATCH 3/5] Capitalize keys --- .../using-github/keyboard-shortcuts.md | 218 +++++++++--------- 1 file changed, 109 insertions(+), 109 deletions(-) diff --git a/content/get-started/using-github/keyboard-shortcuts.md b/content/get-started/using-github/keyboard-shortcuts.md index 3a862f2d7519..30d4f51d9681 100644 --- a/content/get-started/using-github/keyboard-shortcuts.md +++ b/content/get-started/using-github/keyboard-shortcuts.md @@ -29,45 +29,45 @@ The {% data variables.product.prodname_command_palette %} also gives you quick a | Keyboard shortcut | Description |-----------|------------ -|s or / | Focus the search bar. For more information, see "[About searching on {% data variables.product.company_short %}](/search-github/getting-started-with-searching-on-github/about-searching-on-github)." -|g n | Go to your notifications. For more information, see {% ifversion fpt or ghes or ghae or ghec %}"[About notifications](/github/managing-subscriptions-and-notifications-on-github/about-notifications){% else %}"[About notifications](/github/receiving-notifications-about-activity-on-github/about-notifications){% endif %}." -|esc | When focused on a user, issue, or pull request hovercard, closes the hovercard and refocuses on the element the hovercard is in -{% if command-palette %}|Ctrl+k or command+k | Opens the {% data variables.product.prodname_command_palette %}. If you are editing Markdown text, open the command palette with Ctrl+Alt+k or command+option+k. For more information, see "[{% data variables.product.prodname_command_palette %}](/get-started/using-github/github-command-palette)."{% endif %} +|S or / | Focus the search bar. For more information, see "[About searching on {% data variables.product.company_short %}](/search-github/getting-started-with-searching-on-github/about-searching-on-github)." +|G N | Go to your notifications. For more information, see {% ifversion fpt or ghes or ghae or ghec %}"[About notifications](/github/managing-subscriptions-and-notifications-on-github/about-notifications){% else %}"[About notifications](/github/receiving-notifications-about-activity-on-github/about-notifications){% endif %}." +|Esc | When focused on a user, issue, or pull request hovercard, closes the hovercard and refocuses on the element the hovercard is in +{% if command-palette %}|Ctrl+K or Command+K | Opens the {% data variables.product.prodname_command_palette %}. If you are editing Markdown text, open the command palette with Ctrl+Alt+K or Command+Option+K. For more information, see "[{% data variables.product.prodname_command_palette %}](/get-started/using-github/github-command-palette)."{% endif %} ## Repositories | Keyboard shortcut | Description |-----------|------------ -|g c | Go to the **Code** tab -|g i | Go to the **Issues** tab. For more information, see "[About issues](/articles/about-issues)." -|g p | Go to the **Pull requests** tab. For more information, see "[About pull requests](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)."{% ifversion fpt or ghes or ghec %} -|g a | Go to the **Actions** tab. For more information, see "[About Actions](/actions/getting-started-with-github-actions/about-github-actions)."{% endif %} -|g b | Go to the **Projects** tab. For more information, see "[About project boards](/articles/about-project-boards)." -|g w | Go to the **Wiki** tab. For more information, see "[About wikis](/communities/documenting-your-project-with-wikis/about-wikis)."{% ifversion fpt or ghec %} -|g g | Go to the **Discussions** tab. For more information, see "[About discussions](/discussions/collaborating-with-your-community-using-discussions/about-discussions)."{% endif %} +|G C | Go to the **Code** tab +|G I | Go to the **Issues** tab. For more information, see "[About issues](/articles/about-issues)." +|G P | Go to the **Pull requests** tab. For more information, see "[About pull requests](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)."{% ifversion fpt or ghes or ghec %} +|G A | Go to the **Actions** tab. For more information, see "[About Actions](/actions/getting-started-with-github-actions/about-github-actions)."{% endif %} +|G B | Go to the **Projects** tab. For more information, see "[About project boards](/articles/about-project-boards)." +|G W | Go to the **Wiki** tab. For more information, see "[About wikis](/communities/documenting-your-project-with-wikis/about-wikis)."{% ifversion fpt or ghec %} +|G G | Go to the **Discussions** tab. For more information, see "[About discussions](/discussions/collaborating-with-your-community-using-discussions/about-discussions)."{% endif %} ## Source code editing | Keyboard shortcut | Description |-----------|------------{% ifversion fpt or ghec %} |. | Opens a repository or pull request in the web-based editor. For more information, see "[Web-based editor](/codespaces/developing-in-codespaces/web-based-editor)."{% endif %} -|Ctrl+b or command+b | Inserts Markdown formatting for bolding text -|Ctrl+i or command+i | Inserts Markdown formatting for italicizing text -|Ctrl+k or command+k | Inserts Markdown formatting for creating a link{% ifversion fpt or ghec or ghae or ghes > 3.3 %} -|Ctrl+shift+7 or command+shift+7 | Inserts Markdown formatting for an ordered list -|Ctrl+shift+8 or command+shift+8 | Inserts Markdown formatting for an unordered list -|Ctrl+shift+. or command+shift+. | Inserts Markdown formatting for a quote{% endif %} -|e | Open source code file in the **Edit file** tab -|Ctrl+f or command+f | Start searching in file editor -|Ctrl+g or command+g | Find next -|Ctrl+shift+g or command+shift+g | Find previous -|Ctrl+shift+f or command+option+f | Replace -|Ctrl+shift+r or command+shift+option+f | Replace all -|Alt+g | Jump to line -|Ctrl+z or command+z | Undo -|Ctrl+y or command+y | Redo -|command+shift+p | Toggles between the **Edit file** and **Preview changes** tabs -|Ctrl+s or command+s | Write a commit message +|Ctrl+B or Command+B | Inserts Markdown formatting for bolding text +|Ctrl+I or Command+I | Inserts Markdown formatting for italicizing text +|Ctrl+K or Command+K | Inserts Markdown formatting for creating a link{% ifversion fpt or ghec or ghae or ghes > 3.3 %} +|Ctrl+Shift+7 or Command+Shift+7 | Inserts Markdown formatting for an ordered list +|Ctrl+Shift+8 or Command+Shift+8 | Inserts Markdown formatting for an unordered list +|Ctrl+Shift+. or Command+Shift+. | Inserts Markdown formatting for a quote{% endif %} +|E | Open source code file in the **Edit file** tab +|Ctrl+F or Command+F | Start searching in file editor +|Ctrl+G or Command+G | Find next +|Ctrl+Shift+G or Command+Shift+G | Find previous +|Ctrl+Shift+F or Command+Option+F | Replace +|Ctrl+Shift+R or Command+Shift+Option+F | Replace all +|Alt+G | Jump to line +|Ctrl+Z or Command+Z | Undo +|Ctrl+Y or Command+Y | Redo +|Command+Shift+P | Toggles between the **Edit file** and **Preview changes** tabs +|Ctrl+S or Command+S | Write a commit message For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirror.net/doc/manual.html#commands). @@ -75,67 +75,67 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr | Keyboard shortcut | Description |-----------|------------ -|t | Activates the file finder -|l | Jump to a line in your code -|w | Switch to a new branch or tag -|y | Expand a URL to its canonical form. For more information, see "[Getting permanent links to files](/articles/getting-permanent-links-to-files)." -|i | Show or hide comments on diffs. For more information, see "[Commenting on the diff of a pull request](/articles/commenting-on-the-diff-of-a-pull-request)." -|a | Show or hide annotations on diffs -|b | Open blame view. For more information, see "[Tracing changes in a file](/articles/tracing-changes-in-a-file)." +|T | Activates the file finder +|L | Jump to a line in your code +|W | Switch to a new branch or tag +|Y | Expand a URL to its canonical form. For more information, see "[Getting permanent links to files](/articles/getting-permanent-links-to-files)." +|I | Show or hide comments on diffs. For more information, see "[Commenting on the diff of a pull request](/articles/commenting-on-the-diff-of-a-pull-request)." +|A | Show or hide annotations on diffs +|B | Open blame view. For more information, see "[Tracing changes in a file](/articles/tracing-changes-in-a-file)." ## Comments | Keyboard shortcut | Description |-----------|------------ -|Ctrl+b or command+b | Inserts Markdown formatting for bolding text -|Ctrl+i or command+i | Inserts Markdown formatting for italicizing text{% ifversion fpt or ghae or ghes > 3.1 or ghec %} -|Ctrl+e or command+e | Inserts Markdown formatting for code or a command within a line{% endif %} -|Ctrl+k or command+k | Inserts Markdown formatting for creating a link -|Ctrl+shift+p or command+shift+p| Toggles between the **Write** and **Preview** comment tabs{% ifversion fpt or ghae or ghes > 3.2 or ghec %} -|Ctrl+shift+7 or command+shift+7 | Inserts Markdown formatting for an ordered list -|Ctrl+shift+8 or command+shift+8 | Inserts Markdown formatting for an unordered list{% endif %} -|Ctrl+enter | Submits a comment +|Ctrl+B or Command+B | Inserts Markdown formatting for bolding text +|Ctrl+I or Command+I | Inserts Markdown formatting for italicizing text{% ifversion fpt or ghae or ghes > 3.1 or ghec %} +|Ctrl+E or Command+E | Inserts Markdown formatting for code or a command within a line{% endif %} +|Ctrl+K or Command+K | Inserts Markdown formatting for creating a link +|Ctrl+Shift+P or Command+Shift+P| Toggles between the **Write** and **Preview** comment tabs{% ifversion fpt or ghae or ghes > 3.2 or ghec %} +|Ctrl+Shift+7 or Command+Shift+7 | Inserts Markdown formatting for an ordered list +|Ctrl+Shift+8 or Command+Shift+8 | Inserts Markdown formatting for an unordered list{% endif %} +|Ctrl+Enter | Submits a comment |Ctrl+. and then Ctrl+[saved reply number] | Opens saved replies menu and then autofills comment field with a saved reply. For more information, see "[About saved replies](/articles/about-saved-replies)."{% ifversion fpt or ghae or ghes > 3.2 or ghec %} -|Ctrl+shift+. or command+shift+. | Inserts Markdown formatting for a quote{% endif %}{% ifversion fpt or ghec %} -|Ctrl+g or command+g | Insert a suggestion. For more information, see "[Reviewing proposed changes in a pull request](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request)." |{% endif %} -|r | Quote the selected text in your reply. For more information, see "[Basic writing and formatting syntax](/articles/basic-writing-and-formatting-syntax#quoting-text)." | +|Ctrl+Shift+. or Command+Shift+. | Inserts Markdown formatting for a quote{% endif %}{% ifversion fpt or ghec %} +|Ctrl+G or Command+G | Insert a suggestion. For more information, see "[Reviewing proposed changes in a pull request](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request)." |{% endif %} +|R | Quote the selected text in your reply. For more information, see "[Basic writing and formatting syntax](/articles/basic-writing-and-formatting-syntax#quoting-text)." | ## Issue and pull request lists | Keyboard shortcut | Description |-----------|------------ -|c | Create an issue -|Ctrl+/ or command+/ | Focus your cursor on the issues or pull requests search bar. For more information, see "[Filtering and searching issues and pull requests](/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests)."|| -|u | Filter by author -|l | Filter by or edit labels. For more information, see "[Filtering issues and pull requests by labels](/articles/filtering-issues-and-pull-requests-by-labels)." -|alt and click | While filtering by labels, exclude labels. For more information, see "[Filtering issues and pull requests by labels](/articles/filtering-issues-and-pull-requests-by-labels)." -|m | Filter by or edit milestones. For more information, see "[Filtering issues and pull requests by milestone](/articles/filtering-issues-and-pull-requests-by-milestone)." -|a | Filter by or edit assignee. For more information, see "[Filtering issues and pull requests by assignees](/articles/filtering-issues-and-pull-requests-by-assignees)." -|o or enter | Open issue +|C | Create an issue +|Ctrl+/ or Command+/ | Focus your cursor on the issues or pull requests search bar. For more information, see "[Filtering and searching issues and pull requests](/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests)."|| +|U | Filter by author +|L | Filter by or edit labels. For more information, see "[Filtering issues and pull requests by labels](/articles/filtering-issues-and-pull-requests-by-labels)." +|Alt and click | While filtering by labels, exclude labels. For more information, see "[Filtering issues and pull requests by labels](/articles/filtering-issues-and-pull-requests-by-labels)." +|M | Filter by or edit milestones. For more information, see "[Filtering issues and pull requests by milestone](/articles/filtering-issues-and-pull-requests-by-milestone)." +|A | Filter by or edit assignee. For more information, see "[Filtering issues and pull requests by assignees](/articles/filtering-issues-and-pull-requests-by-assignees)." +|O or Enter | Open issue ## Issues and pull requests | Keyboard shortcut | Description |-----------|------------ -|q | Request a reviewer. For more information, see "[Requesting a pull request review](/articles/requesting-a-pull-request-review/)." -|m | Set a milestone. For more information, see "[Associating milestones with issues and pull requests](/articles/associating-milestones-with-issues-and-pull-requests/)." -|l | Apply a label. For more information, see "[Applying labels to issues and pull requests](/articles/applying-labels-to-issues-and-pull-requests/)." -|a | Set an assignee. For more information, see "[Assigning issues and pull requests to other {% data variables.product.company_short %} users](/articles/assigning-issues-and-pull-requests-to-other-github-users/)." -|command+shift+p or Ctrl+shift+p | Toggles between the **Write** and **Preview** tabs{% ifversion fpt or ghec %} -|Alt and click | When creating an issue from a task list, open the new issue form in the current tab by holding alt and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)." -|shift and click | When creating an issue from a task list, open the new issue form in a new tab by holding shift and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)." -|command or Ctrl+shift and click | When creating an issue from a task list, open the new issue form in the new window by holding command or Ctrl+shift and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)."{% endif %} +|Q | Request a reviewer. For more information, see "[Requesting a pull request review](/articles/requesting-a-pull-request-review/)." +|M | Set a milestone. For more information, see "[Associating milestones with issues and pull requests](/articles/associating-milestones-with-issues-and-pull-requests/)." +|L | Apply a label. For more information, see "[Applying labels to issues and pull requests](/articles/applying-labels-to-issues-and-pull-requests/)." +|A | Set an assignee. For more information, see "[Assigning issues and pull requests to other {% data variables.product.company_short %} users](/articles/assigning-issues-and-pull-requests-to-other-github-users/)." +|Command+Shift+P or Ctrl+Shift+P | Toggles between the **Write** and **Preview** tabs{% ifversion fpt or ghec %} +|Alt and click | When creating an issue from a task list, open the new issue form in the current tab by holding Alt and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)." +|Shift and click | When creating an issue from a task list, open the new issue form in a new tab by holding Shift and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)." +|Command or Ctrl+Shift and click | When creating an issue from a task list, open the new issue form in the new window by holding Command or Ctrl+Shift and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)."{% endif %} ## Changes in pull requests | 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 -|command+shift+enter | Add a single comment on a pull request diff | +|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 +|Command+Shift+Enter | Add a single comment on a pull request diff | |Alt and click | Toggle between collapsing and expanding all outdated review comments in a pull request by holding down Alt and clicking **Show outdated** or **Hide outdated**.|{% ifversion fpt or ghes or ghae or ghec %} -|Click, then shift and click | Comment on multiple lines of a pull request by clicking a line number, holding shift, then clicking another line number. For more information, see "[Commenting on a pull request](/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)."|{% endif %} +|Click, then Shift and click | Comment on multiple lines of a pull request by clicking a line number, holding Shift, then clicking another line number. For more information, see "[Commenting on a pull request](/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)."|{% endif %} ## Project boards @@ -143,50 +143,50 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr | 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 Ctrl+ or Ctrl+h | Move column to the leftmost position -| or l | Move column to the right -|command+ or command+l or Ctrl+ or Ctrl+l | Move column to the rightmost position +|Enter or Space | Start moving the focused column +|Esc | Cancel the move in progress +|Enter | Complete the move in progress +| or H | Move column to the left +|Command+ or Command+H or Ctrl+ or Ctrl+H | Move column to the leftmost position +| or L | Move column to the right +|Command+ or Command+L or Ctrl+ or Ctrl+L | Move column to the rightmost position ### Moving a card | 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 Ctrl+ or Ctrl+j | Move card to the bottom of the column -| or k | Move card up -|command+ or command+k or Ctrl+ or Ctrl+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 Ctrl+ or Ctrl+h | Move card to the bottom of the leftmost column -|command+shift+ or command+shift+h or Ctrl+shift+ or Ctrl+shift+h | Move card to the top of the leftmost column +|Enter or Space | Start moving the focused card +|Esc | Cancel the move in progress +|Enter | Complete the move in progress +| or J | Move card down +|Command+ or Command+J or Ctrl+ or Ctrl+J | Move card to the bottom of the column +| or K | Move card up +|Command+ or Command+K or Ctrl+ or Ctrl+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 Ctrl+ or Ctrl+H | Move card to the bottom of the leftmost column +|Command+Shift+ or Command+Shift+H or Ctrl+Shift+ or Ctrl+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 Ctrl+ or Ctrl+l | Move card to the bottom of the rightmost column -|command+shift+ or command+shift+l or Ctrl+shift+ or Ctrl+shift+l | Move card to the bottom of the rightmost column +|Shift+ or Shift+L | Move card to the top of the column on the right +|Command+ or Command+L or Ctrl+ or Ctrl+L | Move card to the bottom of the rightmost column +|Command+Shift+ or Command+Shift+L or Ctrl+Shift+ or Ctrl+Shift+L | Move card to the bottom of the rightmost column ### Previewing a card | Keyboard shortcut | Description |-----------|------------ -|esc | Close the card preview pane +|Esc | Close the card preview pane {% ifversion fpt or ghec %} ## {% data variables.product.prodname_actions %} | Keyboard shortcut | Description |-----------|------------ -|command+space or Ctrl+space | In the workflow editor, get suggestions for your workflow file. -|g+f | Go to the workflow file -|shift+t or T | Toggle timestamps in logs -|shift+f or F | Toggle full-screen logs -|esc | Exit full-screen logs +|Command+Space or Ctrl+Space | In the workflow editor, get suggestions for your workflow file. +|G F | Go to the workflow file +|Shift+T or T | Toggle timestamps in logs +|Shift+F or F | Toggle full-screen logs +|Esc | Exit full-screen logs {% endif %} @@ -195,28 +195,28 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr {% ifversion fpt or ghes or ghae or ghec %} | Keyboard shortcut | Description |-----------|------------ -|e | Mark as done -|shift+u| Mark as unread -|shift+i| Mark as read -|shift+m | Unsubscribe +|E | Mark as done +|Shift+U| Mark as unread +|Shift+I| Mark as read +|Shift+M | Unsubscribe {% else %} | Keyboard shortcut | Description |-----------|------------ -|e or I or y | Mark as read -|shift+m | Mute thread +|E or I or Y | Mark as read +|Shift+M | Mute thread {% endif %} ## Network graph | 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 +| 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 From b65bfda103194ab45e5424ac9fe25ade2955d4bd Mon Sep 17 00:00:00 2001 From: Anil Seervi Date: Wed, 29 Dec 2021 22:58:37 +0530 Subject: [PATCH 4/5] Describe Mac command first then Windows/Linux --- .../using-github/keyboard-shortcuts.md | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/content/get-started/using-github/keyboard-shortcuts.md b/content/get-started/using-github/keyboard-shortcuts.md index 30d4f51d9681..779c07495819 100644 --- a/content/get-started/using-github/keyboard-shortcuts.md +++ b/content/get-started/using-github/keyboard-shortcuts.md @@ -32,7 +32,7 @@ The {% data variables.product.prodname_command_palette %} also gives you quick a |S or / | Focus the search bar. For more information, see "[About searching on {% data variables.product.company_short %}](/search-github/getting-started-with-searching-on-github/about-searching-on-github)." |G N | Go to your notifications. For more information, see {% ifversion fpt or ghes or ghae or ghec %}"[About notifications](/github/managing-subscriptions-and-notifications-on-github/about-notifications){% else %}"[About notifications](/github/receiving-notifications-about-activity-on-github/about-notifications){% endif %}." |Esc | When focused on a user, issue, or pull request hovercard, closes the hovercard and refocuses on the element the hovercard is in -{% if command-palette %}|Ctrl+K or Command+K | Opens the {% data variables.product.prodname_command_palette %}. If you are editing Markdown text, open the command palette with Ctrl+Alt+K or Command+Option+K. For more information, see "[{% data variables.product.prodname_command_palette %}](/get-started/using-github/github-command-palette)."{% endif %} +{% if command-palette %}|Command+K or Ctrl+K | Opens the {% data variables.product.prodname_command_palette %}. If you are editing Markdown text, open the command palette with Command+Option+K or Ctrl+Alt+K. For more information, see "[{% data variables.product.prodname_command_palette %}](/get-started/using-github/github-command-palette)."{% endif %} ## Repositories @@ -51,23 +51,23 @@ The {% data variables.product.prodname_command_palette %} also gives you quick a | Keyboard shortcut | Description |-----------|------------{% ifversion fpt or ghec %} |. | Opens a repository or pull request in the web-based editor. For more information, see "[Web-based editor](/codespaces/developing-in-codespaces/web-based-editor)."{% endif %} -|Ctrl+B or Command+B | Inserts Markdown formatting for bolding text -|Ctrl+I or Command+I | Inserts Markdown formatting for italicizing text -|Ctrl+K or Command+K | Inserts Markdown formatting for creating a link{% ifversion fpt or ghec or ghae or ghes > 3.3 %} -|Ctrl+Shift+7 or Command+Shift+7 | Inserts Markdown formatting for an ordered list -|Ctrl+Shift+8 or Command+Shift+8 | Inserts Markdown formatting for an unordered list -|Ctrl+Shift+. or Command+Shift+. | Inserts Markdown formatting for a quote{% endif %} +|Command+B or Ctrl+B | Inserts Markdown formatting for bolding text +|Command+I or Ctrl+I | Inserts Markdown formatting for italicizing text +|Command+K or Ctrl+K | Inserts Markdown formatting for creating a link{% ifversion fpt or ghec or ghae or ghes > 3.3 %} +|Command+Shift+7 or Ctrl+Shift+7 | Inserts Markdown formatting for an ordered list +|Command+Shift+8 or Ctrl+Shift+8 | Inserts Markdown formatting for an unordered list +|Command+Shift+. or Ctrl+Shift+. | Inserts Markdown formatting for a quote{% endif %} |E | Open source code file in the **Edit file** tab -|Ctrl+F or Command+F | Start searching in file editor -|Ctrl+G or Command+G | Find next -|Ctrl+Shift+G or Command+Shift+G | Find previous -|Ctrl+Shift+F or Command+Option+F | Replace -|Ctrl+Shift+R or Command+Shift+Option+F | Replace all +|Command+F or Ctrl+F | Start searching in file editor +|Command+G or Ctrl+G | Find next +|Command+Shift+G or Ctrl+Shift+G | Find previous +|Command+Option+F or Ctrl+Shift+F | Replace +|Command+Shift+Option+F or Ctrl+Shift+R | Replace all |Alt+G | Jump to line -|Ctrl+Z or Command+Z | Undo -|Ctrl+Y or Command+Y | Redo +|Command+Z or Ctrl+Z | Undo +|Command+Y or Ctrl+Y | Redo |Command+Shift+P | Toggles between the **Edit file** and **Preview changes** tabs -|Ctrl+S or Command+S | Write a commit message +|Command+S or Ctrl+S | Write a commit message For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirror.net/doc/manual.html#commands). @@ -87,17 +87,17 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr | Keyboard shortcut | Description |-----------|------------ -|Ctrl+B or Command+B | Inserts Markdown formatting for bolding text -|Ctrl+I or Command+I | Inserts Markdown formatting for italicizing text{% ifversion fpt or ghae or ghes > 3.1 or ghec %} -|Ctrl+E or Command+E | Inserts Markdown formatting for code or a command within a line{% endif %} -|Ctrl+K or Command+K | Inserts Markdown formatting for creating a link -|Ctrl+Shift+P or Command+Shift+P| Toggles between the **Write** and **Preview** comment tabs{% ifversion fpt or ghae or ghes > 3.2 or ghec %} -|Ctrl+Shift+7 or Command+Shift+7 | Inserts Markdown formatting for an ordered list -|Ctrl+Shift+8 or Command+Shift+8 | Inserts Markdown formatting for an unordered list{% endif %} +|Command+B or Ctrl+B | Inserts Markdown formatting for bolding text +|Command+I or Ctrl+I | Inserts Markdown formatting for italicizing text{% ifversion fpt or ghae or ghes > 3.1 or ghec %} +|Command+E or Ctrl+E | Inserts Markdown formatting for code or a command within a line{% endif %} +|Command+K or Ctrl+K | Inserts Markdown formatting for creating a link +|Command+Shift+P or Ctrl+Shift+P | Toggles between the **Write** and **Preview** comment tabs{% ifversion fpt or ghae or ghes > 3.2 or ghec %} +|Command+Shift+7 or Ctrl+Shift+7 | Inserts Markdown formatting for an ordered list +|Command+Shift+8 or Ctrl+Shift+8 | Inserts Markdown formatting for an unordered list{% endif %} |Ctrl+Enter | Submits a comment |Ctrl+. and then Ctrl+[saved reply number] | Opens saved replies menu and then autofills comment field with a saved reply. For more information, see "[About saved replies](/articles/about-saved-replies)."{% ifversion fpt or ghae or ghes > 3.2 or ghec %} -|Ctrl+Shift+. or Command+Shift+. | Inserts Markdown formatting for a quote{% endif %}{% ifversion fpt or ghec %} -|Ctrl+G or Command+G | Insert a suggestion. For more information, see "[Reviewing proposed changes in a pull request](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request)." |{% endif %} +|Command+Shift+. or Ctrl+Shift+. | Inserts Markdown formatting for a quote{% endif %}{% ifversion fpt or ghec %} +|Command+G or Ctrl+G | Insert a suggestion. For more information, see "[Reviewing proposed changes in a pull request](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request)." |{% endif %} |R | Quote the selected text in your reply. For more information, see "[Basic writing and formatting syntax](/articles/basic-writing-and-formatting-syntax#quoting-text)." | ## Issue and pull request lists @@ -105,7 +105,7 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr | Keyboard shortcut | Description |-----------|------------ |C | Create an issue -|Ctrl+/ or Command+/ | Focus your cursor on the issues or pull requests search bar. For more information, see "[Filtering and searching issues and pull requests](/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests)."|| +|Command+/ or Ctrl+/ | Focus your cursor on the issues or pull requests search bar. For more information, see "[Filtering and searching issues and pull requests](/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests)."|| |U | Filter by author |L | Filter by or edit labels. For more information, see "[Filtering issues and pull requests by labels](/articles/filtering-issues-and-pull-requests-by-labels)." |Alt and click | While filtering by labels, exclude labels. For more information, see "[Filtering issues and pull requests by labels](/articles/filtering-issues-and-pull-requests-by-labels)." From 0f7aaced61fbea1dd92e5b124efbae95d2dc0f54 Mon Sep 17 00:00:00 2001 From: Lucas Costi Date: Tue, 1 Feb 2022 15:06:11 +1000 Subject: [PATCH 5/5] Fix small table bug, add OSs --- .../using-github/keyboard-shortcuts.md | 84 +++++++++---------- 1 file changed, 41 insertions(+), 43 deletions(-) diff --git a/content/get-started/using-github/keyboard-shortcuts.md b/content/get-started/using-github/keyboard-shortcuts.md index 712b727a273a..7ba91f622a08 100644 --- a/content/get-started/using-github/keyboard-shortcuts.md +++ b/content/get-started/using-github/keyboard-shortcuts.md @@ -32,7 +32,7 @@ The {% data variables.product.prodname_command_palette %} also gives you quick a |S or / | Focus the search bar. For more information, see "[About searching on {% data variables.product.company_short %}](/search-github/getting-started-with-searching-on-github/about-searching-on-github)." |G N | Go to your notifications. For more information, see {% ifversion fpt or ghes or ghae or ghec %}"[About notifications](/github/managing-subscriptions-and-notifications-on-github/about-notifications){% else %}"[About notifications](/github/receiving-notifications-about-activity-on-github/about-notifications){% endif %}." |Esc | When focused on a user, issue, or pull request hovercard, closes the hovercard and refocuses on the element the hovercard is in -{% if command-palette %}|Command+K or Ctrl+K | Opens the {% data variables.product.prodname_command_palette %}. If you are editing Markdown text, open the command palette with Command+Option+K or Ctrl+Alt+K. For more information, see "[{% data variables.product.prodname_command_palette %}](/get-started/using-github/github-command-palette)."{% endif %} +{% if command-palette %}|Command+K (Mac) or
Ctrl+K (Windows/Linux) | Opens the {% data variables.product.prodname_command_palette %}. If you are editing Markdown text, open the command palette with Command+Option+K or Ctrl+Alt+K. For more information, see "[{% data variables.product.prodname_command_palette %}](/get-started/using-github/github-command-palette)."{% endif %} ## Repositories @@ -51,23 +51,23 @@ The {% data variables.product.prodname_command_palette %} also gives you quick a | Keyboard shortcut | Description |-----------|------------{% ifversion fpt or ghec %} |. | Opens a repository or pull request in the web-based editor. For more information, see "[Web-based editor](/codespaces/developing-in-codespaces/web-based-editor)."{% endif %} -|Command+B or Ctrl+B | Inserts Markdown formatting for bolding text -|Command+I or Ctrl+I | Inserts Markdown formatting for italicizing text -|Command+K or Ctrl+K | Inserts Markdown formatting for creating a link{% ifversion fpt or ghec or ghae or ghes > 3.3 %} -|Command+Shift+7 or Ctrl+Shift+7 | Inserts Markdown formatting for an ordered list -|Command+Shift+8 or Ctrl+Shift+8 | Inserts Markdown formatting for an unordered list -|Command+Shift+. or Ctrl+Shift+. | Inserts Markdown formatting for a quote{% endif %} +|Command+B (Mac) or
Ctrl+B (Windows/Linux) | Inserts Markdown formatting for bolding text +|Command+I (Mac) or
Ctrl+I (Windows/Linux) | Inserts Markdown formatting for italicizing text +|Command+K (Mac) or
Ctrl+K (Windows/Linux) | Inserts Markdown formatting for creating a link{% ifversion fpt or ghec or ghae or ghes > 3.3 %} +|Command+Shift+7 (Mac) or
Ctrl+Shift+7 (Windows/Linux) | Inserts Markdown formatting for an ordered list +|Command+Shift+8 (Mac) or
Ctrl+Shift+8 (Windows/Linux) | Inserts Markdown formatting for an unordered list +|Command+Shift+. (Mac) or
Ctrl+Shift+. (Windows/Linux) | Inserts Markdown formatting for a quote{% endif %} |E | Open source code file in the **Edit file** tab -|Command+F or Ctrl+F | Start searching in file editor -|Command+G or Ctrl+G | Find next -|Command+Shift+G or Ctrl+Shift+G | Find previous -|Command+Option+F or Ctrl+Shift+F | Replace -|Command+Shift+Option+F or Ctrl+Shift+R | Replace all +|Command+F (Mac) or
Ctrl+F (Windows/Linux) | Start searching in file editor +|Command+G (Mac) or
Ctrl+G (Windows/Linux) | Find next +|Command+Shift+G (Mac) or
Ctrl+Shift+G (Windows/Linux) | Find previous +|Command+Option+F (Mac) or
Ctrl+Shift+F (Windows/Linux) | Replace +|Command+Shift+Option+F (Mac) or
Ctrl+Shift+R (Windows/Linux) | Replace all |Alt+G | Jump to line -|Command+Z or Ctrl+Z | Undo -|Command+Y or Ctrl+Y | Redo +|Command+Z (Mac) or
Ctrl+Z (Windows/Linux) | Undo +|Command+Y (Mac) or
Ctrl+Y (Windows/Linux) | Redo |Command+Shift+P | Toggles between the **Edit file** and **Preview changes** tabs -|Command+S or Ctrl+S | Write a commit message +|Command+S (Mac) or
Ctrl+S (Windows/Linux) | Write a commit message For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirror.net/doc/manual.html#commands). @@ -87,19 +87,17 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr | Keyboard shortcut | Description |-----------|------------ -| Keyboard shortcut | Description -|-----------|------------ -|Command+B or Ctrl+B | Inserts Markdown formatting for bolding text -|Command+I or Ctrl+I | Inserts Markdown formatting for italicizing text{% ifversion fpt or ghae or ghes > 3.1 or ghec %} -|Command+E or Ctrl+E | Inserts Markdown formatting for code or a command within a line{% endif %} -|Command+K or Ctrl+K | Inserts Markdown formatting for creating a link -|Command+Shift+P or Ctrl+Shift+P | Toggles between the **Write** and **Preview** comment tabs{% ifversion fpt or ghae or ghes > 3.2 or ghec %} -|Command+Shift+7 or Ctrl+Shift+7 | Inserts Markdown formatting for an ordered list -|Command+Shift+8 or Ctrl+Shift+8 | Inserts Markdown formatting for an unordered list{% endif %} -|Command+Enter or Ctrl+Enter | Submits a comment +|Command+B (Mac) or
Ctrl+B (Windows/Linux) | Inserts Markdown formatting for bolding text +|Command+I (Mac) or
Ctrl+I (Windows/Linux) | Inserts Markdown formatting for italicizing text{% ifversion fpt or ghae or ghes > 3.1 or ghec %} +|Command+E (Mac) or
Ctrl+E (Windows/Linux) | Inserts Markdown formatting for code or a command within a line{% endif %} +|Command+K (Mac) or
Ctrl+K (Windows/Linux) | Inserts Markdown formatting for creating a link +|Command+Shift+P (Mac) or
Ctrl+Shift+P (Windows/Linux) | Toggles between the **Write** and **Preview** comment tabs{% ifversion fpt or ghae or ghes > 3.2 or ghec %} +|Command+Shift+7 (Mac) or
Ctrl+Shift+7 (Windows/Linux) | Inserts Markdown formatting for an ordered list +|Command+Shift+8 (Mac) or
Ctrl+Shift+8 (Windows/Linux) | Inserts Markdown formatting for an unordered list{% endif %} +|Command+Enter (Mac) or
Ctrl+Enter (Windows/Linux) | Submits a comment |Ctrl+. and then Ctrl+[saved reply number] | Opens saved replies menu and then autofills comment field with a saved reply. For more information, see "[About saved replies](/articles/about-saved-replies)."{% ifversion fpt or ghae or ghes > 3.2 or ghec %} -|Command+Shift+. or Ctrl+Shift+. | Inserts Markdown formatting for a quote{% endif %}{% ifversion fpt or ghec %} -|Command+G or Ctrl+G | Insert a suggestion. For more information, see "[Reviewing proposed changes in a pull request](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request)." |{% endif %} +|Command+Shift+. (Mac) or
Ctrl+Shift+. (Windows/Linux) | Inserts Markdown formatting for a quote{% endif %}{% ifversion fpt or ghec %} +|Command+G (Mac) or
Ctrl+G (Windows/Linux) | Insert a suggestion. For more information, see "[Reviewing proposed changes in a pull request](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request)." |{% endif %} |R | Quote the selected text in your reply. For more information, see "[Basic writing and formatting syntax](/articles/basic-writing-and-formatting-syntax#quoting-text)." | ## Issue and pull request lists @@ -107,7 +105,7 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr | Keyboard shortcut | Description |-----------|------------ |C | Create an issue -|Command+/ or Ctrl+/ | Focus your cursor on the issues or pull requests search bar. For more information, see "[Filtering and searching issues and pull requests](/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests)."|| +|Command+/ (Mac) or
Ctrl+/ (Windows/Linux) | Focus your cursor on the issues or pull requests search bar. For more information, see "[Filtering and searching issues and pull requests](/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests)."|| |U | Filter by author |L | Filter by or edit labels. For more information, see "[Filtering issues and pull requests by labels](/articles/filtering-issues-and-pull-requests-by-labels)." |Alt and click | While filtering by labels, exclude labels. For more information, see "[Filtering issues and pull requests by labels](/articles/filtering-issues-and-pull-requests-by-labels)." @@ -122,10 +120,10 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr |M | Set a milestone. For more information, see "[Associating milestones with issues and pull requests](/articles/associating-milestones-with-issues-and-pull-requests/)." |L | Apply a label. For more information, see "[Applying labels to issues and pull requests](/articles/applying-labels-to-issues-and-pull-requests/)." |A | Set an assignee. For more information, see "[Assigning issues and pull requests to other {% data variables.product.company_short %} users](/articles/assigning-issues-and-pull-requests-to-other-github-users/)." -|Command+Shift+P or Ctrl+Shift+P | Toggles between the **Write** and **Preview** tabs{% ifversion fpt or ghec %} +|Command+Shift+P (Mac) or
Ctrl+Shift+P (Windows/Linux) | Toggles between the **Write** and **Preview** tabs{% ifversion fpt or ghec %} |Alt and click | When creating an issue from a task list, open the new issue form in the current tab by holding Alt and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)." |Shift and click | When creating an issue from a task list, open the new issue form in a new tab by holding Shift and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)." -|Command or Ctrl+Shift and click | When creating an issue from a task list, open the new issue form in the new window by holding Command or Ctrl+Shift and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)."{% endif %} +|Command and click (Mac) or
Ctrl+Shift and click (Windows/Linux) | When creating an issue from a task list, open the new issue form in the new window by holding Command or Ctrl+Shift and clicking the {% octicon "issue-opened" aria-label="The issue opened icon" %} in the upper-right corner of the task. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)."{% endif %} ## Changes in pull requests @@ -149,9 +147,9 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr |Esc | Cancel the move in progress |Enter | Complete the move in progress | or H | Move column to the left -|Command+ or Command+H or Ctrl+ or Ctrl+H | Move column to the leftmost position +|Command+ or Command+H (Mac) or
Ctrl+ or Ctrl+H (Windows/Linux) | Move column to the leftmost position | or L | Move column to the right -|Command+ or Command+L or Ctrl+ or Ctrl+L | Move column to the rightmost position +|Command+ or Command+L (Mac) or
Ctrl+ or Ctrl+L (Windows/Linux) | Move column to the rightmost position ### Moving a card @@ -161,17 +159,17 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr |Esc | Cancel the move in progress |Enter | Complete the move in progress | or J | Move card down -|Command+ or Command+J or Ctrl+ or Ctrl+J | Move card to the bottom of the column +|Command+ or Command+J (Mac) or
Ctrl+ or Ctrl+J (Windows/Linux) | Move card to the bottom of the column | or K | Move card up -|Command+ or Command+K or Ctrl+ or Ctrl+K | Move card to the top of the column +|Command+ or Command+K (Mac) or
Ctrl+ or Ctrl+K (Windows/Linux) | 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 Ctrl+ or Ctrl+H | Move card to the bottom of the leftmost column -|Command+Shift+ or Command+Shift+H or Ctrl+Shift+ or Ctrl+Shift+H | Move card to the top of the leftmost column +|Command+ or Command+H (Mac) or
Ctrl+ or Ctrl+H (Windows/Linux) | Move card to the bottom of the leftmost column +|Command+Shift+ or Command+Shift+H (Mac) or
Ctrl+Shift+ or Ctrl+Shift+H (Windows/Linux) | 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 Ctrl+ or Ctrl+L | Move card to the bottom of the rightmost column -|Command+Shift+ or Command+Shift+L or Ctrl+Shift+ or Ctrl+Shift+L | Move card to the bottom of the rightmost column +|Command+ or Command+L (Mac) or
Ctrl+ or Ctrl+L (Windows/Linux) | Move card to the bottom of the rightmost column +|Command+Shift+ or Command+Shift+L (Mac) or
Ctrl+Shift+ or Ctrl+Shift+L (Windows/Linux) | Move card to the bottom of the rightmost column ### Previewing a card @@ -184,7 +182,7 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr | Keyboard shortcut | Description |-----------|------------ -|Command+Space or Ctrl+Space | In the workflow editor, get suggestions for your workflow file. +|Command+Space (Mac) or
Ctrl+Space (Windows/Linux) | In the workflow editor, get suggestions for your workflow file. |G F | Go to the workflow file |Shift+T or T | Toggle timestamps in logs |Shift+F or F | Toggle full-screen logs @@ -218,7 +216,7 @@ For more keyboard shortcuts, see the [CodeMirror documentation](https://codemirr | 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 +|Shift+ (Mac) or
Shift+H (Windows/Linux) | Scroll all the way left +|Shift+ (Mac) or
Shift+L (Windows/Linux) | Scroll all the way right +|Shift+ (Mac) or
Shift+K (Windows/Linux) | Scroll all the way up +|Shift+ (Mac) or
Shift+J (Windows/Linux) | Scroll all the way down