Sublime Text

Installation

  • Click here to download Sublime Text
  • Open the dmg file.
  • If you are using version 2:

    • Drag the "Sublime Text 2" icon to the Applications folder.
    • Then create a shortcut (symbolic link) so that Sublime Text could be launched from the command-line.
    • Type this in Terminal:
      ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
      
  • If you are using version 3:

    • Drag the "Sublime Text" icon to the Applications folder.
    • Then create a shortcut (symbolic link) so that Sublime Text could be launched from the command-line.
    • Type this in Terminal:
      ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
      
  • To launch Sublime Text from Terminal, just type:
    subl ~/env.sh
    
  • Just replace any file you want to edit with Sublime Text.

Package Control

  • For Sublime Text 2:

    • Click here to install Package Control
    • Select SUBLIME TEXT 2 tab
    • In Sublime Text, click the menu: View > Show Console
    • If you don't see the Show Console from the View menu.
    • Press Cmd+N to create a new document first.
    • Copy and paste the appropriate Python code for your version of Sublime Text into the console.
    • Then press enter key.
    • After the installation, restart Sublime Text.
  • For Sublime Text 3:

    • Press Cmd+Shift+P

    • Search "install"

    • Press enter on "Install Package Control"

    • A popup will be shown:

      Package Control was successfully installed
      
      Use the Command Palette and type "Install Package" to get started
      

Plugins

To install a Sublime Text plugin:

  1. Press Cmd+N to create a new document first.
  2. Press Cmd+Shift+P
  3. Search "install"
  4. Press enter on "Package Control: Install Package"
  5. Type in the name of the package you want to install.
  6. Press arrow key up or down on your desired package.
  7. Then press enter key to proceed the installation.

Click here to browse Sublime Text packages

The plugins I have installed:

  • Pretty JSON
  • URLEncode
  • IndentXML

results matching ""

    No results matching ""