mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-08 17:17:56 +08:00
4f8366a772
Summary: This diff essentially inverts the behavior of native-key-bindings. Instead of opting-in to native-key-bindings, they're applied UNLESS there's an override-key-bindings class. I think this may be a better solution for us since we don't often want to override behavior like Copy and Select All. Test Plan: No new tests on this one... Reviewers: bengotow Reviewed By: bengotow Differential Revision: https://review.inboxapp.com/D1124
13 lines
523 B
Text
13 lines
523 B
Text
# Keybindings require three things to be fully defined: A selector that is
|
|
# matched against the focused element, the keystroke and the command to
|
|
# execute.
|
|
#
|
|
# Below is a basic keybinding which registers on all platforms by applying to
|
|
# the root workspace element.
|
|
|
|
# For more detailed documentation see
|
|
# https://atom.io/docs/latest/advanced/keymaps
|
|
'.thread-list-container':
|
|
's' : 'thread-list:star-thread' # Gmail
|
|
'cmd-L' : 'thread-list:star-thread' # Mac mail
|
|
'ctrl-G': 'thread-list:star-thread' # Outlook
|