forked from timlockridge/SublimeEvernote
-
Notifications
You must be signed in to change notification settings - Fork 103
Keymaps
Emanuele D'Osualdo edited this page Jun 25, 2016
·
1 revision
The plugin does not install keymaps, if you wish you may add a variation of the following to your user keymaps:
{ "keys": ["super+e"], "command": "show_overlay", "args": {"overlay": "command_palette", "text": "Evernote: "} },
{ "keys": ["ctrl+e", "ctrl+s"], "command": "send_to_evernote" },
{ "keys": ["ctrl+e", "ctrl+o"], "command": "open_evernote_note" },
{ "keys": ["ctrl+e", "ctrl+u"], "command": "save_evernote_note" },
you can also overwrite the standard "save" bindings for Evernote notes as follows:
{ "keys": ["ctrl+s"], "command": "save_evernote_note", "context": [{"key": "evernote_note"}, {"key": "evernote_has_guid"}] },
{ "keys": ["ctrl+s"], "command": "send_to_evernote", "context": [{"key": "evernote_note"}, {"key": "evernote_has_guid", "operator": "equal", "operand": false}] },
you would still be able to save the note as a file by using the File > Save
menu.
You can also restrict your bindings to views showing Evernote notes by adding
"context": [{"key": "evernote_note"}]
Check the relevant page of the wiki for details on the accepted arguments of commands.