首页 / 生活资讯 / 正文
Keyboard shortcuts

Time:2025年09月26日 Read:99 评论:0 作者:mlgyp_com

  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.   You can disable character key shortcuts, while still allowing shortcuts that use modifier keys, in your accessibility settings. For more information, see Managing accessibility settings.   The GitHub Command Palette also gives you quick access to a wide range of actions, without the need to remember keyboard shortcuts. For more information, see GitHub Command Palette.   The following sections list some of the available keyboard shortcuts, organized by the pages where you can use them on GitHub.   Keyboard shortcutDescriptionS or /Focus the search bar. For more information, see About searching on GitHub.G NGo to your notifications. For more information, see About notifications.Option+↑ (Mac) or   Alt+↑ (Windows/Linux)Move focus from an element to its hovercardEscWhen focused on a user, issue, or pull request hovercard, closes the hovercard and refocuses on the element the hovercard is in   Keyboard shortcutDescriptionG CGo to the Code tabG IGo to the Issues tab. For more information, see About issues.G PGo to the Pull requests tab. For more information, see About pull requests.G AGo to the Actions tab. For more information, see Writing workflows.G WGo to the Wiki tab. For more information, see About wikis.G GGo to the Discussions tab. For more information, see About discussions.   Keyboard shortcutDescription.Opens a repository or pull request in the github.dev editor, in the same browser tab. You must be signed in to use the editor. For more information, see The github.dev web-based editor.>Opens a repository or pull request in the github.dev editor, in a new browser tab. You must be signed in to use the editor. For more information, see The github.dev web-based editor.Command+B (Mac) or   Ctrl+B (Windows/Linux)Inserts Markdown formatting for bolding textCommand+I (Mac) or   Ctrl+I (Windows/Linux)Inserts Markdown formatting for italicizing textCommand+K (Mac) or   Ctrl+K (Windows/Linux)Inserts Markdown formatting for creating a linkCommand+Shift+7 (Mac) or   Ctrl+Shift+7 (Windows/Linux)Inserts Markdown formatting for an ordered listCommand+Shift+8 (Mac) or   Ctrl+Shift+8 (Windows/Linux)Inserts Markdown formatting for an unordered listCommand+Shift+. (Mac) or   Ctrl+Shift+. (Windows/Linux)Inserts Markdown formatting for a quoteEOpen source code file in the Edit file tabCommand+F (Mac) or   Ctrl+F (Windows/Linux)Start searching in file editorCommand+G (Mac) or   Ctrl+G (Windows/Linux)Find nextCommand+Shift+G (Mac) or   Ctrl+Shift+G (Windows/Linux)Find previousCommand+Option+F (Mac) or   Ctrl+Shift+F (Windows/Linux)ReplaceCommand+Shift+Option+F (Mac) or   Ctrl+Shift+R (Windows/Linux)Replace allAlt+GJump to lineCommand+Z (Mac) or   Ctrl+Z (Windows/Linux)UndoCommand+Y (Mac) or   Ctrl+Y (Windows/Linux)RedoCommand+Shift+PToggles between the Edit file and Preview changes tabsCommand+S (Mac) or   Ctrl+S (Windows/Linux)Write a commit message   For more keyboard shortcuts, see the CodeMirror documentation.   Keyboard shortcutDescriptiontActivates the file finderlJump to a line in your codewSwitch to a new branch or tagyExpand a URL to its canonical form. For more information, see Getting permanent links to files.iShow or hide comments on diffs. For more information, see Commenting on a pull request.aShow or hide annotations on diffsbOpen blame view. For more information, see Viewing and understanding files.   If you view a code file in a repository using the Code view and click on any line in the file, you will see a cursor. You can then navigate within the content of the file, also known as a blob (binary large object), using keyboard shortcuts.   Keyboard shortcutDescriptionShift+JHighlights the line that is currently selected by the cursor within the code fileShift+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 to the left of the lineCommand+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   Keyboard shortcutDescriptionCommand+B (Mac) or   Ctrl+B (Windows/Linux)Inserts Markdown formatting for bolding textCommand+I (Mac) or   Ctrl+I (Windows/Linux)Inserts Markdown formatting for italicizing textCommand+E (Mac) or   Ctrl+E (Windows/Linux)Inserts Markdown formatting for code or a command within a lineCommand+K (Mac) or   Ctrl+K (Windows/Linux)Inserts Markdown formatting for creating a linkCommand+V (Mac) or   Ctrl+V (Windows/Linux)Creates a Markdown link when applied over highlighted textCommand+Shift+P (Mac) or   Ctrl+Shift+P (Windows/Linux)Toggles between the Write and Preview comment tabsCommand+Shift+V (Mac) or   Ctrl+Shift+V (Windows/Linux)Pastes HTML link as plain textCommand+Shift+Option+V (Mac) or   Ctrl+Shift+Alt+V (Windows/Linux)Pastes HTML link as plain textCommand+Shift+7 (Mac) or   Ctrl+Shift+7 (Windows/Linux)Inserts Markdown formatting for an ordered listCommand+Shift+8 (Mac) or   Ctrl+Shift+8 (Windows/Linux)Inserts Markdown formatting for an unordered listCommand+Enter (Mac) or   Ctrl+Enter (Windows/Linux)Submits a commentCtrl+. 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.Command+Shift+. (Mac) or   Ctrl+Shift+. (Windows/Linux)Inserts Markdown formatting for a quoteCommand+G (Mac) or   Ctrl+G (Windows/Linux)Insert a suggestion. For more information, see Reviewing proposed changes in a pull request.RQuote the selected text in your reply. For more information, see Basic writing and formatting syntax.   Keyboard shortcutDescriptionCCreate an issueCommand+/ (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.UFilter by authorLFilter by or edit labels. For more information, see Filtering and searching issues and pull requests.Alt and clickWhile filtering by labels, exclude labels. For more information, see Filtering and searching issues and pull requests.MFilter by or edit milestones. For more information, see Filtering issues and pull requests by milestone.AFilter by or edit assignee. For more information, see Filtering and searching issues and pull requests.O or EnterOpen issue   Keyboard shortcutDescriptionQRequest a reviewer. For more information, see Requesting a pull request review.MSet a milestone. For more information, see Associating milestones with issues and pull requests.LApply a label. For more information, see Managing labels.ASet an assignee. For more information, see Assigning issues and pull requests to other GitHub users.XLink an issue or pull request from the same repository. For more information, see Linking a pull request to an issue.Command+Shift+P (Mac) or   Ctrl+Shift+P (Windows/Linux)Toggles between the Write and Preview tabsAlt and clickWhen creating an issue from a task list, open the new issue form in the current tab by holding Alt and clicking the in the upper-right corner of the task. For more information, see About tasklists.Shift and clickWhen creating an issue from a task list, open the new issue form in a new tab by holding Shift and clicking the in the upper-right corner of the task. For more information, see About tasklists.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 in the upper-right corner of the task. For more information, see About tasklists.Option+Shift+c (Mac) or   Alt+Shift+c (Windows/Linux)Create a new sub-issue. See Adding sub-issues.Option, Shift+a (Mac) or   Alt+Shift+a (Windows/Linux)Add an existing issue as sub-issue. See Adding sub-issues.Option+Shift+p (Mac) or   Alt+Shift+p (Windows/Linux)Edit parent issue.   Keyboard shortcutDescriptionCOpen the Commits dropdown menu to filter which commits are shown in the diffsTMove your cursor to the "Filter changed files" fieldCommand+Shift+Enter (Mac) or Ctrl+Shift+Enter (Windows/Linux)Submit a review commentOption and click (Mac) or Alt and click (Windows/Linux)Toggle between collapsing and expanding all outdated or resolved review comments in a pull request (for example, by holding down Alt and clicking Show outdated or Hide outdated)Click, then Shift and clickComment 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.   Keyboard shortcutDescriptionCommand+f (Mac) or Ctrl+f (Windows/Linux)Focus filter field←Move focus to the left→Move focus to the right↑Move focus up↓Move focus down   Keyboard shortcutDescriptionEnterToggle edit mode for the focused cellEscapeCancel editing for the focused cellCommand+Shift+ (Mac) or Ctrl+Shift+ (Windows/Linux)Open row actions menuShift+SpaceSelect itemShift+↓Add cell or card below to selectionShift+↑Add cell or card above to selectionSpaceOpen selected itemeArchive selected items   Keyboard shortcutDescriptionEnter or Shift+SpaceStart moving the selected card(s)EscCancel the move in progressEnterComplete the move in progress↓Move a single card downCommand+↓ or   Ctrl+↓ (Windows/Linux)Move a single card to the bottom of the column↑Move a single card upCommand+↑ (Mac) or   Ctrl+↑ (Windows/Linux)Move a single card to the top of the column←Move card(s) leftCommand+← (Mac) or   Ctrl+← (Windows/Linux)Move card(s) to the leftmost column→Move card(s) rightCommand+→ (Mac) or   Ctrl+→ (Windows/Linux)Move card(s) to the rightmost column   Keyboard shortcutDescriptionCommand+Space (Mac) or   Ctrl+Space (Windows/Linux)In the workflow editor, get suggestions for your workflow file.G FGo to the workflow fileShift+T or TToggle timestamps in logsShift+F or FToggle full-screen logsEscExit full-screen logs   Keyboard shortcutDescriptionEMark as doneShift+UMark as unreadShift+IMark as readShift+MUnsubscribe   Keyboard shortcutDescription← or HScroll left→ or LScroll right↑ or KScroll up↓ or JScroll downShift+← (Mac) or   Shift+H (Windows/Linux)Scroll all the way leftShift+→ (Mac) or   Shift+L (Windows/Linux)Scroll all the way rightShift+↑ (Mac) or   Shift+K (Windows/Linux)Scroll all the way upShift+↓ (Mac) or   Shift+J (Windows/Linux)Scroll all the way down
Keyboard shortcuts
(图片来源网络,侵删)
标签: Keyboard  shortcuts 
关于我们
民贸生活服务网为您整理的分类信息及实用建议,涵盖生活各方面需求:【房产资讯】二手房市场:近期政策利好,首付比例下调至15%,建议关注地铁沿线学区房租房指南:9月开学季租金普遍上涨5-10%,建议提前1个月锁定房源新房动态:智能家居成标配,精装房交付标准升级【美食探店】• 必吃榜单:秋季限定蟹黄汤包上市(推荐老字号王记)• 网红打卡:新开业的星空主题餐厅,人均150元需提前3天预约• 省钱攻略:每周三半价日活动覆盖30+连锁餐厅【社区活动】✓ 9月8日社区文化节(免费参与包粽子比赛)✓ 每周六上午跳蚤市场(二手家具5折起)✓ 中秋晚会节目招募(报名截止9月15日)【婚恋服务】❤ 实名认证相亲会:9月14日七夕专场(需提供学历/房产证明)❤ 线上匹配:推荐知心红娘小程序,AI算法匹配度达85%【智能生活】• 家电换新:以旧换新补贴最高2000元(限9月30日前)• 黑科技:可语音控制的智能窗帘套装(安装仅需2小时)【金融理财】💰 大额存单利率:3年期2.85%(较上月上涨0.1%)💰 黄金投资:金价回调至480元/克,适合分批建仓【旅游推荐】✈ 错峰游:9月三亚机票价格回落40%🚗 周边游:新开通的环湖绿道适合骑行(租车点:社区服务中心)【生活服务】• 家政保洁:开学季大扫除预约已排至9月20日• 维修服务:空调清洗特惠99元(需提前3天预约)【二手市场】📌 急转:9成新婴儿床(原价1800元,现价600元)📌 求购:求购二手钢琴(预算3000元内)实用建议:房产交易前务必查验五证原件相亲时建议选择公共场所首次见面旅游旺季建议购买取消险(可退80%费用)需要更详细的某类信息,欢迎随时告知!
快捷菜单1
新手上路
免费注册
帮助中心
后台配置
扫码关注
Copyright ©2004-2025 Comsenz Inc.Powered
蜀ICP备2025157516号-4