I don’t know if it’s the right place to post but I installed this SFTP plugin and everything is working well.
I just want to know if there is a way to bind a shortcut that open the “switch remote panel”, couldn’t find it.
Thanks.
I don’t know if it’s the right place to post but I installed this SFTP plugin and everything is working well.
I just want to know if there is a way to bind a shortcut that open the “switch remote panel”, couldn’t find it.
Thanks.
I’m talking about a specific plugin that needs a specific shortcut for a specific command “switch remote panel” which is available with a mouse only
The content of my post still applies. Everything a plugin adds has to be done using a command, and I described a way of discovering which command is called on a certain action.
(Well, there are also event hooks, but you’re not talking about that it seems.)
Well, indeed I found something !
I now use this in my keybinding conf :
{ "keys": ["ctrl+alt+c"], "command": "sftp_switch_config", "args" : {"paths": ["C:\\wamp\\www\\my_project"]} }
I just need a way to link to my current project folder dynamically and it’s all good.
Thank you !
$project
should get you that value I believe.
Other available variables http://docs.sublimetext.info/en/latest/reference/build_systems/configuration.html#build-system-variables
These variables are only available in build systems, not in key bindings.
You’ll probably have to wrap it in a plugin.