diff options
author | James Ramsay <jramsay@gitlab.com> | 2018-05-18 14:27:30 +0000 |
---|---|---|
committer | James Ramsay <james@jramsay.com.au> | 2018-05-18 10:52:12 -0400 |
commit | f2479b608c042b2c4a7b85e38da92834c5c5ceb2 (patch) | |
tree | e8b6d4ddfd637144eed30ff374db04c5d1f88f48 | |
parent | ff944005c30e6f7fc71fd1dc7393ae178b33584e (diff) | |
download | gitlab-ce-f2479b608c042b2c4a7b85e38da92834c5c5ceb2.tar.gz |
Add web shortcut to docs and shortcut modaljr-web-ide-shortcuts
-rw-r--r-- | app/views/help/_shortcuts.html.haml | 11 | ||||
-rw-r--r-- | changelogs/unreleased/jr-web-ide-shortcuts.yml | 5 | ||||
-rw-r--r-- | doc/workflow/shortcuts.md | 6 |
3 files changed, 22 insertions, 0 deletions
diff --git a/app/views/help/_shortcuts.html.haml b/app/views/help/_shortcuts.html.haml index 2244d16f0a6..9a3a03a7671 100644 --- a/app/views/help/_shortcuts.html.haml +++ b/app/views/help/_shortcuts.html.haml @@ -231,6 +231,17 @@ %td.shortcut .key y %td Go to file permalink + %tbody + %tr + %th + %th Web IDE + %tr + %td.shortcut + - if browser.platform.mac? + .key ⌘ p + - else + .key ctrl p + %td Go to file .col-lg-4 %table.shortcut-mappings %tbody.hidden-shortcut.network{ style: 'display:none' } diff --git a/changelogs/unreleased/jr-web-ide-shortcuts.yml b/changelogs/unreleased/jr-web-ide-shortcuts.yml new file mode 100644 index 00000000000..a895eab432a --- /dev/null +++ b/changelogs/unreleased/jr-web-ide-shortcuts.yml @@ -0,0 +1,5 @@ +--- +title: Add shortcuts to Web IDE docs and modal +merge_request: 19044 +author: +type: changed diff --git a/doc/workflow/shortcuts.md b/doc/workflow/shortcuts.md index 930f2e73683..c99505e6bdf 100644 --- a/doc/workflow/shortcuts.md +++ b/doc/workflow/shortcuts.md @@ -88,3 +88,9 @@ You can see GitLab's keyboard shortcuts by using 'shift + ?' | Keyboard Shortcut | Description | | ----------------- | ----------- | | <kbd>e</kbd> | Edit wiki page| + +## Web IDE + +| Keyboard Shortcut | Description | +| ----------------- | ----------- | +| <kbd>⌘</kbd> + <kbd>p</kbd> | Go to file | |