From 341ebb032962d35a13dbe8864149ca7224d790c4 Mon Sep 17 00:00:00 2001 From: Andri Alexandrou Date: Tue, 8 Aug 2023 11:59:36 -0700 Subject: [PATCH 1/2] feat: updates context menu shortcut for code nav --- content/get-started/using-github/keyboard-shortcuts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/get-started/using-github/keyboard-shortcuts.md b/content/get-started/using-github/keyboard-shortcuts.md index 0b734e8011ec..a5c2d22c9e69 100644 --- a/content/get-started/using-github/keyboard-shortcuts.md +++ b/content/get-started/using-github/keyboard-shortcuts.md @@ -94,7 +94,7 @@ If you view a code file in a repository using the **Code** view and click on any | Keyboard shortcut | Description |-----------|------------ |Shift+J| Highlights the line that is currently selected by the cursor within the code file -|Shift+F10 | If a line of code is currently selected, this shortcut opens the line menu for that line, appearing under {% octicon "kebab-horizontal" aria-label="The horizontal kebab icon" %} to the left of the line +|Option (Mac)/Alt (Windows) + Shift+C | If a line of code is currently selected, this shortcut opens the line menu for that line, appearing under {% octicon "kebab-horizontal" aria-label="The horizontal kebab icon" %} to the left of the line |Command+Enter (Mac) or
Control+Enter (Windows/Linux) | Highlights the code symbol currently selected by the cursor and all other occurrences of the symbol in the code, and shows the symbol in the symbols pane {% endif %} From 29e50a12e9d191f345e24a5ca60baadb2bf4df66 Mon Sep 17 00:00:00 2001 From: Andri Alexandrou Date: Mon, 14 Aug 2023 15:32:10 -0700 Subject: [PATCH 2/2] Update content/get-started/using-github/keyboard-shortcuts.md Co-authored-by: hubwriter --- content/get-started/using-github/keyboard-shortcuts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/get-started/using-github/keyboard-shortcuts.md b/content/get-started/using-github/keyboard-shortcuts.md index a5c2d22c9e69..561fb63ff951 100644 --- a/content/get-started/using-github/keyboard-shortcuts.md +++ b/content/get-started/using-github/keyboard-shortcuts.md @@ -94,7 +94,7 @@ If you view a code file in a repository using the **Code** view and click on any | Keyboard shortcut | Description |-----------|------------ |Shift+J| Highlights the line that is currently selected by the cursor within the code file -|Option (Mac)/Alt (Windows) + Shift+C | If a line of code is currently selected, this shortcut opens the line menu for that line, appearing under {% octicon "kebab-horizontal" aria-label="The horizontal kebab icon" %} to the left of the line +|Shift+Option+C (Mac) or
Shift+Alt+C (Windows/Linux) | If a line of code is currently selected, this shortcut opens the line menu for that line, appearing under {% octicon "kebab-horizontal" aria-label="The horizontal kebab icon" %} to the left of the line |Command+Enter (Mac) or
Control+Enter (Windows/Linux) | Highlights the code symbol currently selected by the cursor and all other occurrences of the symbol in the code, and shows the symbol in the symbols pane {% endif %}