Closed RudolfVonKrugstein closed 10 years ago
You should be able to override plugins' default key bindings with your own user keybindings:
http://www.sublimetext.com/docs/2/settings.html
Here are all the commands available / defined by the plugin :
https://github.com/clemos/haxe-sublime-bundle/blob/master/Support/Default.sublime-keymap
For instance, you can add this part to your user keybindings file and change the keys
part :
{
"keys": ["ctrl+enter"],
"command": "run_macro_file",
"args":
{
"file": "Packages/Haxe/Macros/SaveAllAndBuild.sublime-macro"
},
"context":
[
{
"key": "selector",
"operator": "equal",
"operand": "source.haxe.2,source.hxml,source.nmml,source.erazor"
}
]
}
I'll close the issue for now, you can always re-open it if the solution I propose doesn't fit your needs.
I am using vintageos to get vim keybindings in sublime. When I want to build an openfl project, I have to press Ctrl-Enter (is there also another way), which works ONLY if I am in insert mode. That is doable, but anyoing.