Mailspring/keymaps/templates/Apple Mail.cson
Evan Morikawa 455b418d6f feat(keymap): add new <KeymapHandlers />
Summary:
Refactor keymaps to wrap components with a <KeymapHandlers /> component.
This more Reactful way of declaring keyback handlers prevents us from
needing to subscribe to `atom.commands`

Test Plan: new tests

Reviewers: bengotow, juan

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2226
2015-11-06 11:47:06 -08:00

12 lines
437 B
Text

# Note: For a menu item to have a keyboard equiavalent, it needs
# to be listed in this file.
'body':
'cmdctrl-n' : 'application:new-message'
'cmdctrl-r' : 'application:reply'
'cmdctrl-R' : 'application:reply-all'
'cmdctrl-F' : 'application:forward'
'cmdctrl-alt-f': 'application:focus-search'
'cmdctrl-D': 'application:send-message'
'cmdctrl-V': 'application:change-category'
'cmdctrl-e' : 'application:archive-item'