Add web shortcut to docs and shortcut modal

This commit is contained in:
James Ramsay 2018-05-18 14:27:30 +00:00 committed by James Ramsay
parent ff944005c3
commit f2479b608c
3 changed files with 22 additions and 0 deletions

View File

@ -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' }

View File

@ -0,0 +1,5 @@
---
title: Add shortcuts to Web IDE docs and modal
merge_request: 19044
author:
type: changed

View File

@ -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 |