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...
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...
Nowdoc and heredoc in PHP
From the manual: Nowdocs are to single-quoted strings what heredocs are to double-quoted strings....
Install OpenCV 2.4.2 with ffmpeg support in Mac OS X 10.8
In order to install OpenCV 2.4.2 with ffmpeg support we have to first install lamemp3, faac, faad and...
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: