On a Mac, this is hidden, find the folder by going to Finder andGo | Go to Folder~/Library/Application Support/Sublime Text 2press ENTER

How to add a Command to the Command Palette (Cmd-Shift-P) on Mac

1- Create a folder in Packages/Default/Default.sublime-commands There is same file in Packages/User/Default.sublime-commands don't modify files in Packages/Default, they will be overwritten when upgrading always use User folder for user specific settings

3- Then you can press Cmd-Shift_P, and type in: Ru and you will see this on list

'''

# ------------------------------------------------------------# show_input_panel, status_message and message_dialog example# to run this use:# view.run_command("example1")# at the command line in Sublime# Note: Example1Command is expressed as example1 with the view.run_command("example1")

# ------------------------------------------------------------# message_dialog example with cancel example# to run this use:# view.run_command("example2")# at the command line in Sublime# Note: Example2Command is expressed as example2 with the view.run_command("example2")

# this has OK button only sublime.message_dialog("Message goes here.")

# this has two buttnos, Cancel and OKY sublime.ok_cancel_dialog("hello mrm", "OKY") # no work sublime.errormessage_dialog("BIG ERROR") sublime.status_message("fred ******************") # this is at bottom

# this has Cancel and OK button labeled OK Rob - and will respond depending on user action # Esc key will be taken as a Cancel

# ------------------------------------------------------------# Dialog for error_message# to run this use:# view.run_command("example3")# at the command line in Sublime# Note: Example3Command is expressed as example3 with the view.run_command("example3")