diff options
Diffstat (limited to 'client/lib')
-rw-r--r-- | client/lib/keyboard.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/client/lib/keyboard.js b/client/lib/keyboard.js index 066836d4..fa1747e3 100644 --- a/client/lib/keyboard.js +++ b/client/lib/keyboard.js @@ -35,3 +35,28 @@ Mousetrap.bind(['down', 'up'], (evt, key) => { Utils.goCardId(nextCardId); } }); + +Template.keyboardShortcuts.helpers({ + mapping: [{ + keys: ['W'], + action: 'Toogle Board Sidebar' + }, { + keys: ['Q'], + action: 'Filter my cards' + }, { + keys: ['X'], + action: 'Clear all filters' + }, { + keys: ['?'], + action: 'Bring up this shortcuts list' + }, { + keys: ['ESC'], + action: 'Close Dialog' + }, { + keys: ['@'], + action: 'Autocomplete members' + }, { + keys: [':'], + action: 'Autocomplete emojies' + }] +}); |