Home Download Buy Blog Forum Support

Needed commands reference for Sublime Text 2

Needed commands reference for Sublime Text 2

Postby kapooostin on Mon Jan 31, 2011 9:39 am

Is there a reference or a kind of "oldName > new_name" list for commands?
Trying to add keybinding for "premuteSelection" (i get, now it is "premute_selection") and do not know how to add "reverse" to the command.
kapooostin
 
Posts: 11
Joined: Mon Jan 04, 2010 11:09 pm

Re: Needed commands reference for Sublime Text 2

Postby jps on Mon Jan 31, 2011 12:11 pm

There isn't any such list yet; I hope to get something done about the documentation for Sublime Text 2 soon.

Your best option to find out the available commands for Sublime Text 2 is to look through the key bindings, and the main menu (Default/Main.sublime-menu). In the case of permute_selection, the relevant portion of the menu is:

Code: Select all
{ "command": "permute_selection", "args": {"operation": "reverse"}, "caption": "Reverse" },
{ "command": "permute_selection", "args": {"operation": "unique"}, "caption": "Unique" },
{ "command": "permute_selection", "args": {"operation": "shuffle"}, "caption": "Shuffle" }
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Needed commands reference for Sublime Text 2

Postby kapooostin on Mon Jan 31, 2011 11:10 pm

Thank you!
kapooostin
 
Posts: 11
Joined: Mon Jan 04, 2010 11:09 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 22 guests