forked from nylas/nylas-mail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase-darwin.cson
39 lines (35 loc) · 1.11 KB
/
base-darwin.cson
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Note: For a menu item to have a keyboard equiavalent, it needs
# to be listed in this file.
'body':
# Mac application keys
'cmd-q': 'application:quit'
'cmd-h': 'application:hide'
'cmd-1': 'application:show-main-window'
'cmd-m': 'application:minimize'
'cmd-alt-w': 'application:show-work-window'
'cmd-alt-h': 'application:hide-other-applications'
'alt-cmd-ctrl-m': 'application:zoom'
'cmd-alt-ctrl-s': 'application:run-all-specs'
# Mac core keys
'cmd-z': 'core:undo'
'cmd-Z': 'core:redo'
'cmd-y': 'core:redo'
'cmd-x': 'core:cut'
'cmd-c': 'core:copy'
'cmd-a': 'core:select-all'
'cmd-v': 'core:paste'
# Mac window keys
'cmd-w': 'window:close'
'cmd-=': 'window:increase-font-size'
'cmd-+': 'window:increase-font-size'
'cmd--': 'window:decrease-font-size'
'cmd-_': 'window:decrease-font-size'
'cmd-0': 'window:reset-font-size'
'alt-cmd-i': 'window:toggle-dev-tools'
'cmd-ctrl-f': 'window:toggle-full-screen'
'ctrl-alt-cmd-l': 'window:reload'
'cmd-alt-ctrl-p': 'application:run-package-specs'
'body *[contenteditable]':
'cmd-z': 'native!'
'cmd-Z': 'native!'
'cmd-y': 'native!'