Easely add plugins to Sublime Text 2

Download Sublime Text 2 (at this moment the lastest build is 2181) and install it:

Mac
Windows 32 bits
Windows 64 bits
Linux 32 bits
Linux 64 bits

Update: You can install Sublime Text 2 in Ubuntu using apt-get running those 3 commands:

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text

Once inside Sublime Text 2 make visible the console with “View->Show Console”.

Run the next command (it’s only one line) in the console. You will not see any feedback but it’s ok.

import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())

Restart Sublime Text 2 and press Control+Shift+P (GNU/Linux and Windows) or Command+Shift+P (Mac) to show the menu where you can see the options of the “Package Control”. Go to “Package Control: Install Package” and search for a package you want to install.

In http://wbond.net/sublime_packages/community you can find many plugins to install by “Package Control”. Just copy the URL of the Github project, go to “Package Control: Add Repository” and add it. Then in “Package Control: Install Package” search that particular package on the list and click on it.

You might also like

Use Sublime Text 2 to beautify HTML, CSS and JavaScript
First of all you have to install Package Control in Sublime Text 2 as I explained before. Then install...
Symfony2 routing: Allow dots in URL
I have one route in my app that must have a text and a dot followed by a format. For example: http://domain.com/image/mi-text-with-dots-.-in-.-the-.-middle.png As...
Add colors to the text in terminal application in Mac OS X
Just add the following 2 lines to your /etc/profile, ~/.profile or ~/.bash_profile: export CLICOLOR=1 export...
Install latest VirtualBox 4.3 in Ubuntu 12.04
Latest version of VirtualBox in 12.04 repositories is 4.1.* at the moment. If you want latest 4.3.* version...
Leave a comment ?

3 Comments.

  1. Muchas gracias, me sirvió mucho.

  2. Buenisimo, mas facil que ir copiando carpetas.
    En linux no puedo hacer que se habilite el paquete Arduino-Like Ide de stino. Siempre aparece deshabilitado.

Leave a Comment

Trackbacks and Pingbacks: