mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 16:26:08 +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
14 lines
510 B
Plaintext
14 lines
510 B
Plaintext
# Note: Only put keymaps in here that apply to Mac ONLY
|
|
#
|
|
# Most cross-platform issues can be resolved by using the special N1
|
|
# `cmdctrl` extension before you keymap. This will automatically default
|
|
# to using the `cmd` key on Mac and `ctrl` key on Windows.
|
|
|
|
'body':
|
|
'cmd-m': 'application:minimize'
|
|
'cmd-h': 'application:hide'
|
|
'cmd-1': 'application:show-main-window'
|
|
'cmd-alt-h': 'application:hide-other-applications'
|
|
'cmd-ctrl-f': 'window:toggle-full-screen'
|
|
'alt-cmd-ctrl-m': 'application:zoom'
|