mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-08 01:04:39 +08:00
455b418d6f
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
12 lines
437 B
Text
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'
|