gitlab-org--gitlab-foss/app/views/help/_shortcuts.html.haml

284 lines
7.6 KiB
Plaintext
Raw Normal View History

#modal-shortcuts.modal{tabindex: -1}
.modal-dialog
.modal-content
.modal-header
%a.close{href: "#", "data-dismiss" => "modal"} ×
2014-09-30 14:41:48 +00:00
%h4
2014-08-21 08:14:31 +00:00
Keyboard Shortcuts
2014-09-30 14:41:48 +00:00
%small
2014-08-21 08:14:31 +00:00
= link_to '(Show all)', '#', class: 'js-more-help-button'
.modal-body.shortcuts-cheatsheet
.col-lg-4
%table.shortcut-mappings
%tbody
%tr
%th
%th Global Shortcuts
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key s
%td Focus Search
%tr
%td.shortcut
.key f
%td Focus Filter
2014-08-21 08:14:31 +00:00
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key ?
2016-04-12 21:52:53 +00:00
%td Show/hide this dialog
%tr
%td.shortcut
- if browser.platform.mac?
2016-03-09 17:13:21 +00:00
.key ⌘ shift p
- else
.key ctrl shift p
%td Toggle Markdown preview
%tr
%td.shortcut
.key
%i.fa.fa-arrow-up
%td Edit last comment (when focused on an empty textarea)
2014-08-21 08:14:31 +00:00
%tbody
%tr
%th
%th Project Files browsing
%tr
%td.shortcut
.key
2014-10-01 22:21:29 +00:00
%i.fa.fa-arrow-up
2014-08-21 08:14:31 +00:00
%td Move selection up
%tr
%td.shortcut
.key
2014-10-01 22:21:29 +00:00
%i.fa.fa-arrow-down
2014-08-21 08:14:31 +00:00
%td Move selection down
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key enter
%td Open Selection
%tbody
%tr
%th
%th Finding Project File
%tr
%td.shortcut
.key
%i.fa.fa-arrow-up
%td Move selection up
%tr
%td.shortcut
.key
%i.fa.fa-arrow-down
%td Move selection down
%tr
%td.shortcut
.key enter
%td Open Selection
%tr
%td.shortcut
.key esc
%td Go back
2014-08-21 08:14:31 +00:00
.col-lg-4
%table.shortcut-mappings
%tbody{ class: 'hidden-shortcut project', style: 'display:none' }
%tr
%th
%th Global Dashboard
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key g
.key a
%td
Go to the activity feed
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key g
.key p
%td
Go to projects
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key g
.key i
%td
Go to issues
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key g
.key m
%td
Go to merge requests
%tbody
%tr
%th
%th Project
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key g
.key p
%td
Go to the project's home page
%tr
%td.shortcut
.key g
.key e
2014-08-21 08:14:31 +00:00
%td
Go to the project's activity feed
2014-08-21 08:14:31 +00:00
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key g
.key f
%td
Go to files
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key g
.key c
%td
Go to commits
2015-10-14 10:15:03 +00:00
%tr
%td.shortcut
.key g
.key b
%td
Go to builds
2014-08-21 08:14:31 +00:00
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key g
.key n
%td
Go to network graph
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key g
.key g
%td
Go to graphs
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key g
.key i
%td
Go to issues
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key g
.key m
%td
Go to merge requests
%tr
%td.shortcut
.key g
.key s
%td
Go to snippets
2016-02-04 16:49:46 +00:00
%tr
%td.shortcut
.key t
%td Go to finding file
2016-04-12 21:52:53 +00:00
%tr
%td.shortcut
.key i
%td New issue
2014-08-21 08:14:31 +00:00
.col-lg-4
%table.shortcut-mappings
%tbody{ class: 'hidden-shortcut network', style: 'display:none' }
%tr
%th
%th Network Graph
%tr
%td.shortcut
.key
2014-10-01 22:21:29 +00:00
%i.fa.fa-arrow-left
2014-08-21 08:14:31 +00:00
\/
.key h
%td Scroll left
%tr
%td.shortcut
.key
2014-10-01 22:21:29 +00:00
%i.fa.fa-arrow-right
2014-08-21 08:14:31 +00:00
\/
.key l
%td Scroll right
%tr
%td.shortcut
.key
2014-10-01 22:21:29 +00:00
%i.fa.fa-arrow-up
2014-08-21 08:14:31 +00:00
\/
.key k
%td Scroll up
%tr
%td.shortcut
.key
2014-10-01 22:21:29 +00:00
%i.fa.fa-arrow-down
2014-08-21 08:14:31 +00:00
\/
.key j
%td Scroll down
%tr
%td.shortcut
.key
shift
2014-10-01 22:21:29 +00:00
%i.fa.fa-arrow-up
2014-08-21 08:14:31 +00:00
\/
.key
shift k
%td Scroll to top
%tr
%td.shortcut
.key
shift
2014-10-01 22:21:29 +00:00
%i.fa.fa-arrow-down
2014-08-21 08:14:31 +00:00
\/
.key
shift j
%td Scroll to bottom
%tbody{ class: 'hidden-shortcut issues', style: 'display:none' }
%tr
%th
%th Issues
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key a
%td Change assignee
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key m
%td Change milestone
2015-04-11 22:30:19 +00:00
%tr
%td.shortcut
.key r
%td Reply (quoting selected text)
2016-02-23 16:54:56 +00:00
%tr
%td.shortcut
.key e
%td Edit issue
2016-04-12 21:52:53 +00:00
%tr
%td.shortcut
.key l
%td Change Label
2015-04-11 22:29:25 +00:00
%tbody{ class: 'hidden-shortcut merge_requests', style: 'display:none' }
2014-08-21 08:14:31 +00:00
%tr
%th
%th Merge Requests
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key a
%td Change assignee
%tr
2014-09-30 14:41:48 +00:00
%td.shortcut
2014-08-21 08:14:31 +00:00
.key m
%td Change milestone
2015-04-11 22:30:19 +00:00
%tr
%td.shortcut
.key r
%td Reply (quoting selected text)
2016-02-23 16:54:56 +00:00
%tr
%td.shortcut
.key e
%td Edit merge request
2016-04-12 21:52:53 +00:00
%tr
%td.shortcut
.key l
%td Change Label