2015-08-15 06:40:11 +08:00
|
|
|
# Email-specific core key-mappings
|
|
|
|
#
|
|
|
|
# There are additional mappings in <platform>.cson files that bind
|
|
|
|
# menu items. In the future, we should break these into files like:
|
|
|
|
# darwin-gmail.cson, darwin-macmail.cson, win32-gmail.cson...
|
|
|
|
|
|
|
|
'body':
|
|
|
|
'c' : 'application:new-message' # Gmail
|
|
|
|
'/' : 'application:focus-search' # Gmail
|
|
|
|
|
|
|
|
'r' : 'application:reply' # Gmail
|
|
|
|
'R' : 'application:reply-all' # Nylas Mail
|
|
|
|
'a' : 'application:reply-all' # Gmail
|
|
|
|
'f' : 'application:forward' # Gmail
|
|
|
|
'l' : 'application:change-category' # Gmail
|
|
|
|
'u' : 'application:pop-sheet' # Gmail
|
|
|
|
'delete' : 'application:pop-sheet'
|
|
|
|
|
|
|
|
'k' : 'core:previous-item' # Gmail
|
|
|
|
'j' : 'core:next-item' # Gmail
|
|
|
|
']' : 'core:remove-and-previous' # Gmail
|
|
|
|
'[' : 'core:remove-and-next' # Gmail
|
|
|
|
'e' : 'core:remove-item' # Gmail
|
|
|
|
's' : 'core:star-item' #Gmail
|
|
|
|
'x' : 'core:select-item'
|
2015-08-15 07:41:52 +08:00
|
|
|
|
|
|
|
# Gmail also includes some more basic ones that users expect from desktop software.
|
|
|
|
|
|
|
|
'body.platform-darwin':
|
|
|
|
'cmd-n' : 'application:new-message'
|
|
|
|
'cmd-r' : 'application:reply'
|
|
|
|
'cmd-R' : 'application:reply-all'
|
|
|
|
'cmd-F' : 'application:forward'
|
|
|
|
|
|
|
|
'body.platform-linux, body.platform-win32':
|
|
|
|
'ctrl-n' : 'application:new-message'
|
|
|
|
'ctrl-r' : 'application:reply'
|
|
|
|
'ctrl-R' : 'application:reply-all'
|
|
|
|
'ctrl-F' : 'application:forward'
|