mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
6ee161eb72
Summary: Properly scopes undo & redo key bindings to the composer Test Plan: manual Reviewers: dillon, bengotow Reviewed By: bengotow Maniphest Tasks: T3446 Differential Revision: https://phab.nylas.com/D1951
43 lines
1.3 KiB
Text
43 lines
1.3 KiB
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
|
|
'ctrl-n': 'application:new-message' # Outlook
|
|
'ctrl-r': 'application:reply' # Outlook
|
|
'ctrl-R': 'application:reply-all' # Outlook
|
|
'ctrl-F': 'application:forward' # Outlook
|
|
'ctrl-shift-v': 'application:change-category' # Outlook
|
|
|
|
# Windows application keys
|
|
'ctrl-q': 'application:quit'
|
|
'ctrl-alt-s': 'application:run-all-specs'
|
|
|
|
# Windows core keys
|
|
'ctrl-z': 'core:undo'
|
|
'ctrl-Z': 'core:redo'
|
|
'ctrl-y': 'core:redo'
|
|
'ctrl-x': 'core:cut'
|
|
'ctrl-c': 'core:copy'
|
|
'ctrl-a': 'core:select-all'
|
|
'ctrl-v': 'core:paste'
|
|
'ctrl-insert': 'core:copy'
|
|
'shift-insert': 'core:paste'
|
|
|
|
# Windows window keys
|
|
'ctrl-w': 'window:close'
|
|
'ctrl-=': 'window:increase-font-size'
|
|
'ctrl-+': 'window:increase-font-size'
|
|
'ctrl--': 'window:decrease-font-size'
|
|
'ctrl-_': 'window:decrease-font-size'
|
|
'ctrl-0': 'window:reset-font-size'
|
|
'ctrl-alt-r': 'window:reload'
|
|
'ctrl-alt-i': 'window:toggle-dev-tools'
|
|
'ctrl-alt-p': 'application:run-package-specs'
|
|
'ctrl-alt-s': 'application:run-all-specs'
|
|
'F11': 'window:toggle-full-screen'
|
|
|
|
'body *[contenteditable]':
|
|
'ctrl-z': 'native!'
|
|
'ctrl-Z': 'native!'
|
|
'ctrl-y': 'native!'
|