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
18 lines
719 B
Text
18 lines
719 B
Text
# Note: For a menu item to have a keyboard equiavalent, it needs
|
|
# to be listed in this file.
|
|
|
|
'body':
|
|
# Windows email-specific menu items
|
|
'cmdctrl-shift-v': 'application:change-category' # Outlook
|
|
'F3': 'application:focus-search'
|
|
'cmdctrl-e': 'application:focus-search'
|
|
'cmdctrl-f': 'application:forward'
|
|
'cmdctrl-shift-v': 'application:change-category'
|
|
'cmdctrl-d': 'application:delete-item'
|
|
'alt-backspace':'core:undo'
|
|
'alt-s': 'application:send-message'
|
|
'cmdctrl-r': 'application:reply'
|
|
'cmdctrl-shift-r': 'application:reply-all'
|
|
'cmdctrl-n' : 'application:new-message'
|
|
'cmdctrl-shift-m': 'application:new-message'
|
|
'cmdctrl-enter': 'send'
|