diff options
author | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2016-01-19 22:25:27 +0300 |
---|---|---|
committer | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2016-01-19 22:25:27 +0300 |
commit | 34564296d00408ec585bb78370cf8710a22ffdf4 (patch) | |
tree | 5e6bf72371525a819d1b83796adc067afc250ccf /app/assets/javascripts/shortcuts.js.coffee | |
parent | 340df52bc7734ff76e75aae113313259e42680fb (diff) |
Adds `t` as a shortcut for find file anywhere
Diffstat (limited to 'app/assets/javascripts/shortcuts.js.coffee')
-rw-r--r-- | app/assets/javascripts/shortcuts.js.coffee | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/shortcuts.js.coffee b/app/assets/javascripts/shortcuts.js.coffee index 4d915bfc8c5..f141fb69c3e 100644 --- a/app/assets/javascripts/shortcuts.js.coffee +++ b/app/assets/javascripts/shortcuts.js.coffee @@ -4,6 +4,7 @@ class @Shortcuts Mousetrap.reset() Mousetrap.bind('?', @selectiveHelp) Mousetrap.bind('s', Shortcuts.focusSearch) + Mousetrap.bind('t', -> Turbolinks.visit(findFileURL)) if findFileURL? selectiveHelp: (e) => Shortcuts.showHelp(e, @enabledHelp) |