安装插件
打开PackageControl,搜索evernote安装插件。
配置插件,关联到EverNote
- 打开如下链接,点击“Create a developer token”,获取到“NoteStore URL”和“Developer Token”
国内版:https://app.yinxiang.com/api/DeveloperToken.action
国际版:https://www.evernote.com/api/DeveloperToken.action - 打开 Preferences > Package Settings > Evernote >Settings - User,加入如下内容
{
"noteStoreUrl": "上面获取到的NoteStore URL",
"token": "上面获取到的Developer Token"
}
测试插件是否配置成功
打开PackageControl,输入evernote可以看到很多和evernote相关的命令。点击Evernote:list recent notes,如果能够显示出来笔记,那么说明配置成功了!
添加快捷键
打开 Preferences > Key Bindings - User,加入如下内容
[
{"keys": ["command+e", "command+o"], "command": "open_evernote_note"},
{"keys": ["command+s"], "command": "save_evernote_note", "context": [{"key": "evernote_note"}, {"key": "evernote_has_guid"}]},
{"keys": ["command+s"], "command": "send_to_evernote", "context": [{"key": "evernote_note"}, {"key": "evernote_has_guid", "operator": "equal", "operand": false}]}
]