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:
authorSean McGivern <sean@gitlab.com>2017-03-17 13:58:19 +0300
committerSean McGivern <sean@gitlab.com>2017-03-17 17:58:35 +0300
commitc77fc4cee3d7a9f167cc5ca87fb5c8e22aed95f3 (patch)
tree106efb16d311cb1fd6ca21850fd5c14b27ee00d3 /app/assets/javascripts/shortcuts_navigation.js
parent4413d97b2a51e25d7d0d6f30e5170f67b4612166 (diff)
Add global `g t` shortcut to go to todos
Diffstat (limited to 'app/assets/javascripts/shortcuts_navigation.js')
-rw-r--r--app/assets/javascripts/shortcuts_navigation.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/shortcuts_navigation.js b/app/assets/javascripts/shortcuts_navigation.js
index 09a58cad2b2..3f5d6724417 100644
--- a/app/assets/javascripts/shortcuts_navigation.js
+++ b/app/assets/javascripts/shortcuts_navigation.js
@@ -43,6 +43,9 @@ require('./shortcuts');
Mousetrap.bind('g m', function() {
return ShortcutsNavigation.findAndFollowLink('.shortcuts-merge_requests');
});
+ Mousetrap.bind('g t', function() {
+ return ShortcutsNavigation.findAndFollowLink('.shortcuts-todos');
+ });
Mousetrap.bind('g w', function() {
return ShortcutsNavigation.findAndFollowLink('.shortcuts-wiki');
});