Commit f2479b60 authored by James Ramsay's avatar James Ramsay Committed by James Ramsay

Add web shortcut to docs and shortcut modal

parent ff944005
...@@ -231,6 +231,17 @@ ...@@ -231,6 +231,17 @@
%td.shortcut %td.shortcut
.key y .key y
%td Go to file permalink %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 .col-lg-4
%table.shortcut-mappings %table.shortcut-mappings
%tbody.hidden-shortcut.network{ style: 'display:none' } %tbody.hidden-shortcut.network{ style: 'display:none' }
......
---
title: Add shortcuts to Web IDE docs and modal
merge_request: 19044
author:
type: changed
...@@ -88,3 +88,9 @@ You can see GitLab's keyboard shortcuts by using 'shift + ?' ...@@ -88,3 +88,9 @@ You can see GitLab's keyboard shortcuts by using 'shift + ?'
| Keyboard Shortcut | Description | | Keyboard Shortcut | Description |
| ----------------- | ----------- | | ----------------- | ----------- |
| <kbd>e</kbd> | Edit wiki page| | <kbd>e</kbd> | Edit wiki page|
## Web IDE
| Keyboard Shortcut | Description |
| ----------------- | ----------- |
| <kbd></kbd> + <kbd>p</kbd> | Go to file |
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment