Home Download Buy Blog Forum Support

Subversion commands keys binding

Subversion commands keys binding

Postby cristian_goncalves on Fri Aug 24, 2012 11:31 am

Hey!!

I've searched about related subjects, but I've not found anything that could help me. Can anyone tell me if is possible to create key bindings for subversion commands and, if is possible, how to create it?

Thanks!!
Best regards.

Cristian.
cristian_goncalves
 
Posts: 1
Joined: Fri Aug 24, 2012 11:12 am

Re: Subversion commands keys binding

Postby jcerdan on Fri Jan 04, 2013 11:27 am

Hi!

I'm looking for this also, tried to insert

Code: Select all
[
   { "keys": ["alt+c"], "command": "exec svn ci" }
]


into Preferences -> Package settings -> SVN -> key bindings user

But that didn't work, in console there's "Unable to parse command: exec svn ci".

Had the same result without exec....

Hope someone can help us...
jcerdan
 
Posts: 2
Joined: Fri Jan 04, 2013 11:25 am

Re: Subversion commands keys binding

Postby svenax on Fri Jan 04, 2013 2:18 pm

jcerdan wrote:Hi!

I'm looking for this also, tried to insert

Code: Select all
[
   { "keys": ["alt+c"], "command": "exec svn ci" }
]


into Preferences -> Package settings -> SVN -> key bindings user

But that didn't work, in console there's "Unable to parse command: exec svn ci".

Had the same result without exec....

Hope someone can help us...


You bind SublimeText commands to keys, not arbitrary shell commands. Your first step (if you haven't done so already) is to install the SVN plugin for SublimeText. That provides a single key binding that displays list where you can select the command to use. You can bind specific commands yourself if you want. Take a look in <Packages>/SVN/Default.sublime-commands to see what's available. In this case you probably want either "svn_commit" or "svn_wc_commit".
svenax
 
Posts: 154
Joined: Tue Dec 20, 2011 12:47 pm

Re: Subversion commands keys binding

Postby jcerdan on Mon Jan 07, 2013 3:03 pm

Hi Svenax!

thanks a lot! that did it!

best
jcerdan
 
Posts: 2
Joined: Fri Jan 04, 2013 11:25 am


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 39 guests