【发布时间】:2017-05-08 03:55:27
【问题描述】:
Sublime 的 Anaconda 插件的默认键盘映射中存在以下条目(它会显示方法的文档):
{
command": "anaconda_doc", "keys" ["ctrl+alt+d"], "context: [
{"key": "selector", "operator": "equal", "operand": "source.python"}
]
}
我想在键中添加["ctrl+."],这样我就可以按ctrl+alt+d 或ctrl+. 来调出文档。有没有办法在keys 条目中添加or 条件?
我试过["ctrl+alt+d", "ctrl+."],但这只是转换为ctrl+alt+d+.。我的其他尝试都没有奏效。
【问题讨论】:
标签: python sublimetext3 sublime-anaconda