Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Pathier <tpxp@live.fr>2018-11-26 11:40:18 +0300
committerPhil Hughes <me@iamphill.com>2018-11-26 11:40:18 +0300
commit456771398593c0192537dd472bd5341bc919b5e7 (patch)
treef90b2a84ea9a04c4fc95e7438404b143998d3230 /app/views/help
parent10e4c873172d395368e2b1c93cab014b41d2c4e4 (diff)
WebIDE: Make Ctrl+Enter automatically commit when commit textarea is focused
Diffstat (limited to 'app/views/help')
-rw-r--r--app/views/help/_shortcuts.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/help/_shortcuts.html.haml b/app/views/help/_shortcuts.html.haml
index 37b56f92030..28ffb2dd63c 100644
--- a/app/views/help/_shortcuts.html.haml
+++ b/app/views/help/_shortcuts.html.haml
@@ -249,6 +249,13 @@
- else
%kbd ctrl p
%td Go to file
+ %tr
+ %td.shortcut
+ - if browser.platform.mac?
+ %kbd &#8984; enter
+ - else
+ %kbd ctrl enter
+ %td Commit (when editing commit message)
.col-lg-4
%table.shortcut-mappings
%tbody.hidden-shortcut{ style: 'display:none' }