提交 36f02f88 编写于 作者: Lab机器人's avatar Lab机器人

shortcut key

上级 4f560804
...@@ -1258,7 +1258,7 @@ ...@@ -1258,7 +1258,7 @@
<script> <script>
var gitbook = gitbook || []; var gitbook = gitbook || [];
gitbook.push(function() { gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"首页","level":"1.1","depth":1,"next":{"title":"概览","level":"1.2","depth":1,"path":"docs/overview.md","ref":"docs/overview.md","articles":[]},"dir":"ltr"},"config":{"plugins":["favicon","back-to-top-button","popup","theme-fexa","-sharing","sharing-plus","tbfed-pagefooter","chapter-fold","-lunr","-search","search-pro","livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy CODECHINA 2020","modify_label":"该文件修订时间:","modify_format":"YYYY-MM-DD HH:mm:ss"},"chapter-fold":{},"livereload":{},"search-pro":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"popup":{},"theme-fexa":{"search-placeholder":"输入关键字搜索","logo":"/docs/img/logo.png","favicon":"","url":"/"},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"favicon":{"shortcut":"/docs/img/logo-s.png","bookmark":"/docs/img/logo-s.png","appleTouch":"/docs/img/logo-s.png","appleTouchMore":{"120x120":"","180x180":"/docs/img/logo-s.png"}},"back-to-top-button":{},"sharing":{"douban":true,"facebook":false,"google":false,"qq":true,"qzone":true,"twitter":false,"weibo":true,"all":["douban","facebook","google","instapaper","linkedin","twitter","weibo","messenger","qq","qzone","viber","whatsapp"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Miykael","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"themeFexa":{"nav":[{"url":"/","target":"_blank","name":"开始使用"}]}},"title":"CODEChina帮助文档","language":"zh-hans","links":{"sidebar":{}},"gitbook":"*","description":"CODEChina开源社区用户使用及帮助文档"},"file":{"path":"README.md","mtime":"2020-09-01T02:50:43.664Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2020-09-02T03:01:00.711Z"},"basePath":".","book":{"language":""}}); gitbook.page.hasChanged({"page":{"title":"首页","level":"1.1","depth":1,"next":{"title":"概览","level":"1.2","depth":1,"path":"docs/overview.md","ref":"docs/overview.md","articles":[]},"dir":"ltr"},"config":{"plugins":["favicon","back-to-top-button","popup","theme-fexa","-sharing","sharing-plus","tbfed-pagefooter","chapter-fold","-lunr","-search","search-pro","livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy CODECHINA 2020","modify_label":"该文件修订时间:","modify_format":"YYYY-MM-DD HH:mm:ss"},"chapter-fold":{},"livereload":{},"search-pro":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"popup":{},"theme-fexa":{"search-placeholder":"输入关键字搜索","logo":"/docs/img/logo.png","favicon":"","url":"/"},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"favicon":{"shortcut":"/docs/img/logo-s.png","bookmark":"/docs/img/logo-s.png","appleTouch":"/docs/img/logo-s.png","appleTouchMore":{"120x120":"","180x180":"/docs/img/logo-s.png"}},"back-to-top-button":{},"sharing":{"douban":true,"facebook":false,"google":false,"qq":true,"qzone":true,"twitter":false,"weibo":true,"all":["douban","facebook","google","instapaper","linkedin","twitter","weibo","messenger","qq","qzone","viber","whatsapp"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Miykael","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"themeFexa":{"nav":[{"url":"/","target":"_blank","name":"开始使用"}]}},"title":"CODEChina帮助文档","language":"zh-hans","links":{"sidebar":{}},"gitbook":"*","description":"CODEChina开源社区用户使用及帮助文档"},"file":{"path":"README.md","mtime":"2020-09-01T02:50:43.664Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2020-09-02T07:32:29.505Z"},"basePath":".","book":{"language":""}});
}); });
</script> </script>
</div> </div>
......
无法预览此类型文件
docs/img/todos_add_todo_sidebar.png

70.5 KB | W: | H:

docs/img/todos_add_todo_sidebar.png

44.8 KB | W: | H:

docs/img/todos_add_todo_sidebar.png
docs/img/todos_add_todo_sidebar.png
docs/img/todos_add_todo_sidebar.png
docs/img/todos_add_todo_sidebar.png
  • 2-up
  • Swipe
  • Onion skin
docs/img/todos_index.png

122.7 KB | W: | H:

docs/img/todos_index.png

76.2 KB | W: | H:

docs/img/todos_index.png
docs/img/todos_index.png
docs/img/todos_index.png
docs/img/todos_index.png
  • 2-up
  • Swipe
  • Onion skin
docs/img/todos_mark_done_sidebar.png

89.5 KB | W: | H:

docs/img/todos_mark_done_sidebar.png

53.5 KB | W: | H:

docs/img/todos_mark_done_sidebar.png
docs/img/todos_mark_done_sidebar.png
docs/img/todos_mark_done_sidebar.png
docs/img/todos_mark_done_sidebar.png
  • 2-up
  • Swipe
  • Onion skin
# 快捷键[](#快捷键 "Permalink") # 快捷键[](#快捷键 "Permalink")
GitLab 有许多有用的键盘快捷键,使您可以更轻松地访问不同的功能. 您可以通过按`?`在 GitLab 本身中看到模式列表键盘快捷键`.` ,或单击右上角"帮助"菜单中的" **键盘快捷键"** . 在[GitLab 12.8 和更高版本中](https://gitlab.com/gitlab-org/gitlab/-/issues/22113) ,可以使用此模式窗口中的" **启用** / **禁用"**切换来禁用键盘快捷键. 通过我们支持的快捷键可以让您更轻松地访问不同的功能,您可以通过按`?`查看我们所支持的快捷键,或单击右上角头像菜单中的"快捷键" 。此外,您也可以通过设置弹窗中的" **启用** / **禁用"**切换来禁用键盘快捷键。
[全局快捷方式](#global-shortcuts)可在 GitLab 的任何区域使用,但是您必须在特定页面中才能使用其他快捷方式,如以下各节所述. [全局快捷](#global-shortcuts)可在 CODEChina 的任何区域使用,但是您必须在特定页面中才能使用其他快捷方式,具体的参考以下文档说明。
## Global Shortcuts[](#global-shortcuts "Permalink") ## 全局快捷键[](#global-shortcuts "Permalink")
GitLab 的大多数区域中都可以使用这些快捷方式 CODEChina 的大多数区域中都可以使用以下这些快捷方式:
| 键盘快捷键 | Description | | 快捷键 | 说明 |
| --- | --- | | --- | --- |
| `?` | 显示/隐藏快捷方式参考表. | | `?` | 显示/隐藏快捷方式列表 |
| `Shift` + `p` | 转到您的项目页面. | | `Shift` + `p` | 转到您的项目页面 |
| `Shift` + `g` | 转到您的网上论坛页面. | | `Shift` + `g` | 转到您的组织页面 |
| `Shift` + `a` | 转到"活动"页面. | | `Shift` + `a` | 转到"活动"页面|
| `Shift` + `l` | 转到您的里程碑页面. | | `Shift` + `l` | 转到您的里程碑页面|
| `Shift` + `s` | 转到您的代码段页面. | | `s` | 将光标放在 Issue /合并请求搜索中|
| `s` | 将光标放在问题/合并请求搜索中. | | `Shift` + `i` | 转到您的 Issue 页面|
| `Shift` + `i` | 转到您的问题页面. | | `Shift` + `m` | 转到"合并请求"页面|
| `Shift` + `m` | 转到"合并请求"页面. | | `Shift` + `t` | 转到待办事项列表页面 |
| `Shift` + `t` | 转到待办事项列表页面. |
| `p` + `b` | 显示/隐藏性能栏. | 此外,在文本字段中编辑文本时,可以使用以下快捷方式,例如,评论,回复,Issue 描述及合并请求描述:
此外,在文本字段中编辑文本时,可以使用以下快捷方式,例如,注释,回复,问题描述和合并请求描述: | 快捷键 | 说明 |
| 键盘快捷键 | Description |
| --- | --- | | --- | --- |
| `↑` | 编辑您的最后评论. 您必须在线程下方的空白文本字段中,并且该线程中必须已经至少有一个注释. | | `↑` | 编辑您的最后评论。您必须在话题下方的空白文本字段中,并且该话题中必须已经至少有一个注释|
| `⌘` (Mac)/ `Ctrl` + `Shift` + `p` | 在顶部具有" **编写"**和" **预览"**选项卡的文本字段中编辑文本时,切换 Markdown 预览. | | `⌘` (Mac)/ `Ctrl` + `Shift` + `p` | 在顶部具有" **编写"**和" **预览"**选项卡的文本字段中编辑文本时,切换 Markdown 预览|
## Project[](#project "Permalink") ## 项目[](#project "Permalink")
这些快捷方式可从项目中的任何页面获得. 您必须相对快速地键入它们才能工作,并且它们会将您带到项目中的另一个页面. 在项目的任何页面您都可以使用以下这些快捷键,您必须相对快速地敲下它们,然后它们会将您带到项目中的另一个页面。
| 键盘快捷键 | Description | | 快捷键 | 说明 |
| --- | --- | | --- | --- |
| `g` + `p` | 转到项目主页(" **项目">"详细信息"** ). | | `g` + `p` | 转到项目主页( **项目>详细信息** )|
| `g` + `v` | 转到项目活动提要(" **项目">"活动"** ). | | `g` + `r` | 转到项目发布列表(**项目>Release** )|
| `g` + `r` | 转到项目发布列表(" **项目">"发布"** ). | | `g` + `f` | 转到[项目文件](#project-files)列表(**代码>文件** )|
| `g` + `f` | 转到[项目文件](#project-files)列表(" **存储库">"文件"** ). | | `t` | 转到项目文件搜索页面(**代码>文件** ,单击 **查找文件** )|
| `t` | 转到项目文件搜索页面. (" **存储库">"文件"** ,单击" **查找文件"** ). | | `g` + `c` | 转到项目提交列表( **代码>提交** ) |
| `g` + `c` | 转到项目提交列表( **存储库>提交** ). | | `g` + `n` | 转到[分支图](#repository-graph)页面( **代码> 分支图** )|
| `g` + `n` | 转到[存储库图](#repository-graph)页面( **Repository> Graph** ). | | `g` + `d` | 转到仓库分析 (**仓库分析**)|
| `g` + `d` | Go to repository charts (**分析>存储库分析**). | | `g` + `i` | 转到项目 Issue 列表( **Issue** )|
| `g` + `i` | 转到项目问题列表( **问题>列表** ). | | `i` | 转到"新建 Issue "页面( **Issue** ,单击 **新建 Issue** )|
| `i` | 转到"新问题"页面(" **问题"** ,单击" **新问题"** ). | | `g` + `b` | 转到项目 Issue 看板( **Issue >看板** )|
| `g` + `b` | 转到项目问题委员会列表( **问题>委员会** ). | | `g` + `m` | 转到项目合并请求列表( **合并请求** )|
| `g` + `m` | 转到项目合并请求列表( **合并请求** ). | | `g` + `s` | 转到项目片段列表( **片段** ) |
| `g` + `j` | 转到 CI / CD 作业列表( **CI / CD>作业** ). | | `g` + `w` | 转到项目 Wiki( **Wiki** )(如果已启用) |
| `g` + `l` | 转到项目指标(" **操作">"指标"** ). |
| `g` + `e` | 转到项目环境(" **操作">"环境"** ). | ### Issues 及合并请求[](#issues-and-merge-requests "Permalink")
| `g` + `k` | 转到项目 Kubernetes 集群集成页面( **操作> Kubernetes** ). 请注意,您必须至少具有[`maintainer`权限](permissions.html)才能访问此页面. |
| `g` + `s` | 转到项目片段列表( **片段** ). | 以下快捷键在 Issue 及合并请求相关页面可用:
| `g` + `w` | 转到项目 Wiki( **Wiki** )(如果已启用). |
| 快捷键 | 说明 |
### Issues and Merge Requests[](#issues-and-merge-requests "Permalink")
这些快捷方式在查看问题和合并请求时可用.
| 键盘快捷键 | Description |
| --- | --- | | --- | --- |
| `e` | 编辑说明. | | `e` | 编辑 |
| `a` | 更改受让人. | | `a` | 更改指派人 |
| `m` | 更改里程碑. | | `m` | 更改里程碑 |
| `l` | 更改标签. | | `l` | 更改标签|
| `r` | 开始写评论. 如果选择了任何文本,它将在注释中引用. 不能用于在线程内回复. | | `r` | 开始写评论,如果选择了任何文本,它将在注释中引用。 不能用于在话题讨论内回复。|
| `n` | 移至下一个未解决的讨论(仅合并请求). | | `n` | 移至下一个未解决的讨论(仅合并请求) |
| `p` | 移至上一个未解决的讨论(仅合并请求). | | `p` | 移至上一个未解决的讨论(仅合并请求) |
| `]` or `j` | 移至下一个文件(仅合并请求). | | `]` or `j` | 移至下一个文件(仅合并请求) |
| `[` or `k` | 移至上一个文件(仅合并请求). | | `[` or `k` | 移至上一个文件(仅合并请求) |
| `b` | 复制源分支名称(仅合并请求). | | `b` | 复制源分支名称(仅合并请求) |
### Project Files[](#project-files "Permalink") ### 项目文件[](#project-files "Permalink")
这些快捷方式在浏览项目中的文件时可用(导航至**Repository** > **Files** ): 以下快捷键在浏览项目中的文件时可用(导航至**代码** > **文件** ):
| 键盘快捷键 | Description | | 快捷键 | 说明 |
| --- | --- | | --- | --- |
| `↑` | 向上移动选择. | | `↑` | 向上移动选择|
| `↓` | 向下移动选择. | | `↓` | 向下移动选择 |
| `enter` | 打开选择. | | `enter` | 打开选择|
| `esc` | 返回文件列表屏幕(仅在搜索文件时," **存储库">"文件",**然后单击" **查找文件"** ). | | `esc` | 返回文件列表屏幕(仅在搜索文件时可用," **代码">"文件",**然后单击" **查找文件"** |
| `y` | 转到文件永久链接(仅在查看文件时). | | `y` | 转到文件永久链接(仅在查看文件时) |
### Web IDE[](#web-ide "Permalink") ### Web IDE[](#web-ide "Permalink")
使用[Web IDE](project/web_ide/index.html)编辑文件时,可以使用以下快捷方式: 使用[Web IDE](project/web_ide/index.html)编辑文件时,可以使用以下快捷方式:
| 键盘快捷键 | Description | | 快捷键 | 说明 |
| --- | --- | | --- | --- |
| `⌘` (Mac)/ `Ctrl` + `p` | 搜索,然后打开另一个文件进行编辑. | | `⌘` (Mac)/ `Ctrl` + `p` | 搜索,然后打开另一个文件进行编辑 |
| `⌘` (Mac)/ `Ctrl` + `Enter` | 提交(在编辑提交消息时). | | `⌘` (Mac)/ `Ctrl` + `Enter` | 提交(在编辑提交消息时) |
### Repository Graph[](#repository-graph "Permalink") ### 分支图[](#repository-graph "Permalink")
这些快捷方式在查看项目[存储库图形](project/repository/index.html#repository-graph)页面时可用(导航至**Repository> Graph** ): 以下快捷键在查看项目[分支图](project/repository/index.html#repository-graph)页面时可用(导航至**代码> 分支图** ):
| 键盘快捷键 | Description | | 快捷键 | 说明 |
| --- | --- | | --- | --- |
| `←` or `h` | 向左滚动. | | `←` or `h` | 向左滚动 |
| `→` or `l` | 向右滚动. | | `→` or `l` | 向右滚动 |
| `↑` or `k` | 向上滚动. | | `↑` or `k` | 向上滚动 |
| `↓` or `j` | 向下滚动. | | `↓` or `j` | 向下滚动 |
| `Shift` + `↑` or `Shift` + `k` | 滚动到顶部. | | `Shift` + `↑` or `Shift` + `k` | 滚动到顶部|
| `Shift` + `↓` or `Shift` + `j` | 滚动到底部. | | `Shift` + `↓` or `Shift` + `j` | 滚动到底部|
### Wiki pages[](#wiki-pages "Permalink") ### Wiki[](#wiki-pages "Permalink")
查看[维基页面](project/wiki/index.html)时,可以使用此快捷方式 在查看[Wiki](project/wiki/index.html)时,可以使用以下快捷键
| 键盘快捷键 | Description | | 快捷键 | 说明 |
| --- | --- | | --- | --- |
| `e` | 编辑 Wiki 页面. | | `e` | 编辑 Wiki 页面 |
### Filtered Search[](#filtered-search "Permalink") ### 搜索过滤[](#filtered-search "Permalink")
这些快捷方式在使用[过滤的搜索输入](search/index.html)时可用: 以下快捷键在使用[搜索过滤](search/index.html)时可用:
| 键盘快捷键 | Description | | 快捷键 | 说明 |
| --- | --- | | --- | --- |
| `⌘` (Mac)+ `⌫` | 清除整个搜索过滤器. | | `⌘` (Mac)+ `⌫` | 清除整个搜索过滤器|
| `⌥` (Mac)/ `Ctrl` + `⌫` | 一次清除一个令牌. | | `⌥` (Mac)/ `Ctrl` + `⌫` | 一次清除一个过滤条件 |
## Epics[](#epics-ultimate "Permalink") ## Epics[](#epics-ultimate "Permalink")
这些快捷方式在查看[Epics](group/epics/index.html)时可用: 以下快捷键在查看[Epics](group/epics/index.html)时可用:
| 键盘快捷键 | Description | | 快捷键 | 说明 |
| --- | --- | | --- | --- |
| `r` | 开始写评论. 如果选择了任何文本,它将在注释中引用. 不能用于在线程内回复. | | `r` | 开始写评论,如果选择了任何文本,它将在注释中引用。不能用于在话题讨论内回复 |
| `e` | 编辑说明. | | `e` | 编辑说明 |
| `l` | 更改标签. | | `l` | 更改标签 |
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册