Robot-Will / Stino

A Sublime Text Plugin for Arduino
Other
1.58k stars 250 forks source link

How to config the key bindings? #455

Closed segatecm closed 7 years ago

segatecm commented 7 years ago

I want to config the Stino shortcut keys like arduino IDE. such as Ctrl + U for upload the sketch.

gepd commented 7 years ago

Open the key bindings file (Preferences > Key Bindings) and paste this

{ "keys": ["ctrl+u"], "command": "stino_upload" },
{ "keys": ["ctrl+b"], "command": "stino_build" }
segatecm commented 7 years ago

thanks @gepd, it works!

so if i want bind more function, where can i find the functions list? such as monitor start/stop.

gepd commented 7 years ago

You can use the menu file as reference: https://github.com/Robot-Will/Stino/blob/Stino-Dev/Main.sublime-menu.

segatecm commented 7 years ago

Thanks!

Maik93 commented 6 years ago

Sorry, if you link ctrl+b with Stino, it will allways run instead of Sublime Build (e.g. gcc for C files)?

segatecm commented 6 years ago

No, That not hanpped. Stino has the config file for itself.