mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 10:12:00 +08:00
37e3fe0f45
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
11 lines
427 B
Text
11 lines
427 B
Text
# Note: Only put keymaps in here that apply to Windows 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-alt-l': 'window:reload'
|
|
'cmd-alt-i': 'window:toggle-dev-tools'
|
|
'cmd-alt-w': 'application:show-work-window'
|
|
'F11': 'window:toggle-full-screen'
|