bindings for different syntax? Sublime Text 2
How do I set same key-bindings for different syntax in Sublime Text 2? For example, I have three different formatting packages for HTML/CSS, Javascript, and Python. I would like them to have the same key-binding (ctrl + shift + f). This way when I switch between syntaxes, I can use the same hotkey to format my code.
You need to create the key bindings with a context for selector. See my answer at Sublime Text 2 varying macro per syntax for more information on that.
链接地址: http://www.djcxy.com/p/90908.html上一篇: 如何在项目根目录下的Sublime Text 2中运行Ruby脚本
下一篇: 绑定不同的语法? 崇高的文字2