diff options
author | Thomas Pathier <tpxp@live.fr> | 2018-11-26 11:40:18 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-11-26 11:40:18 +0300 |
commit | 456771398593c0192537dd472bd5341bc919b5e7 (patch) | |
tree | f90b2a84ea9a04c4fc95e7438404b143998d3230 /app/views/help | |
parent | 10e4c873172d395368e2b1c93cab014b41d2c4e4 (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.haml | 7 |
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 ⌘ enter + - else + %kbd ctrl enter + %td Commit (when editing commit message) .col-lg-4 %table.shortcut-mappings %tbody.hidden-shortcut{ style: 'display:none' } |