Category Archives: Software - Page 2

Easely add plugins to Sublime Text 2

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

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(''+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 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.

  • Page 2 of 2
  • <
  • 1
  • 2