mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 21:57:55 +08:00
a48ddd51f8
Summary: Keymaps & menus CSON => JSON, remove AtomKeymaps, CommandRegistry use of CSS selectors, use Mousetrap instead Important Notes: - The `application:` prefix is reserved for commands which are handled in the application process. Don't use it for other things. You will not receive the events in the window. - Maintaining dynamic menus seems to come with quite an overhead, because Electron updates the entire menu every time. In the future, we'll need https://github.com/electron/electron/issues/528 to really make things nice. I will be tracking this upstream. - The format for keyboard shortcuts has changed. `cmd-X` is now `command+shift+x` Test Plan: Run tests Reviewers: juan, evan Reviewed By: evan Differential Revision: https://phab.nylas.com/D2917
34 lines
909 B
JSON
34 lines
909 B
JSON
{
|
|
"application:new-message": "mod+n",
|
|
|
|
"navigation:go-to-inbox": "i",
|
|
"multiselect-list:select-all": "shift+x",
|
|
|
|
"core:pop-sheet": "u",
|
|
"core:previous-item": "k",
|
|
"core:select-up": "shift+k",
|
|
"core:next-item": "j",
|
|
"core:select-down": "shift+j",
|
|
"core:focus-item": "o",
|
|
|
|
"message-list:previous-message": "p",
|
|
"message-list:next-message": "n",
|
|
|
|
"core:mute-conversation": "m",
|
|
"core:focus-search": "/",
|
|
"core:change-category": ".",
|
|
"core:select-item": "x",
|
|
"core:gmail-remove-from-view": "y",
|
|
"core:archive-item": "e",
|
|
"core:report-as-spam": "!",
|
|
"core:delete-item": "//",
|
|
"core:reply": "mod+r",
|
|
"core:reply-new-window": "shift+r",
|
|
"core:reply-all": "mod+shift+r",
|
|
"core:reply-all-new-window": "shift+a",
|
|
"core:forward": "mod+shift+f",
|
|
"core:forward-new-window": "shift+f",
|
|
"core:remove-and-previous": "}",
|
|
"core:remove-and-next": "{",
|
|
"core:undo": "z"
|
|
}
|