Sublime Forum

Needed commands reference for Sublime Text 2

#1

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.

0 Likes

#2

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:

{ "command": "permute_selection", "args": {"operation": "reverse"}, "caption": "Reverse" },
{ "command": "permute_selection", "args": {"operation": "unique"}, "caption": "Unique" },
{ "command": "permute_selection", "args": {"operation": "shuffle"}, "caption": "Shuffle" }
0 Likes

#3

Thank you!

0 Likes