Sublime Text 2 PPA: Separate Development And Beta Builds

11:43 PM

Sublime Text 2

A quick update for those of you who are using the WebUpd8 Sublime Text 2 PPA: until now, the PPA had Sublime Text 2 development builds only but starting today, you can install either Sublime Text 2 beta or the latest Sublime Text 2 development build, from the same PPA. The recommended package is Sublime Text 2 beta, because it's more stable.

With this change, there are also new package names: for the development builds: sublime-text-2-dev and for the beta: sublime-text-2-beta. However, if you want to continue using the development builds, there's no need to install any new package: the "sublime-text-2" package is now a metapackage that automatically installs sublime-text-2-dev (I've done this so those who are using the PPA and aren't reading this, still get Sublime Text 2 updates).


Add the Sublime Text 2 PPA using the following commands:
sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update

And then, to install Sublime Text 2 beta (recommended), use this command:
sudo apt-get install sublime-text-2-beta

Or, to install Sublime Text 2 development build:
sudo apt-get install sublime-text-2-dev

Note: you can't install both the development and beta builds in the same time. Installing one of them will remove the other one.

In other news, I've added Unity quicklists (well, one quicklist) and Unity-launcher drag and drop support to the Sublime Text 2 desktop file a couple of days ago.

Thanks to Rémi Rérolle for the suggestion.

0 comments

» read more....

Easily Discover And Install Plugins In Sublime Text 2 With Sublime Package Control

10:32 PM


Sublime Text 2 is an excellent TextMate-like text editor that runs on Linux, Windows and Mac OSX.

If you like Sublime Text 2, you'll love Sublime Package Control, a cross-platform package manager that lets you easily discover, install and update various packages (plugins) for Sublime Text 2

Here are some of the plugins that you can install using Sublime Package Control: GIT, Mercurial or SFTP/FTP support, CSS Less (code folding and nesting for CSS), GoTo Recent, HeX viewer and editor, jQuery snippets pack, Vim / Emacs like modelines, SCSS bundle, Open Terminal, JSLint, PowerShell Utils, LaTeX Tools, HTML5 bundle, Zen Coding and many others. 

Sublime Package Control install and updates the packages via GitHub or BitBucket and the update is done through Git and Hg. Any installed package can be enabled or disabled, you can add custom repositories, create your own packages, etc.


If you haven't tried Sublime Text 2 yet, download it from here. If you use Ubuntu, there is a PPA you can use to stay up to date with the latest Sublime Text 2 development builds (a new version is usually released every few days) and get it to integrate with the desktop. Sublime Text 2 is not free, but you can evaluate it for an unlimited amount of time.

To install Sublime Package Control, open Sublime Text 2, press ctrl+` (` is the character next to 1) and paste this:
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation'



Once installed, restart Sublime Text 2 and press CTRL + SHIFT + P. This should open the Command Pallete which lets you run various Sublime Package Control commands (the Sublime Package Control commands start with "Package Control"); to get started, click on "Package Control - Install Package" and install some plugins you want to use with your Sublime Text 2 installation.


Sublime Package Control homepage

via Lucas Rocha @ Google+

0 comments

» read more....

Sublime Text 2 GIT Plugin

9:15 PM

Sublime Text 2 Git plugin

Sublime Text 2 is an excellent TextMate alternative (text editor) that runs on Linux, Windows and Mac OSX. The application is not free, but you can evaluate it for an unlimited amount of time.

I've recently stumbled upon (via HK) a GIT plugin for Sublime Text 2 which can display a log or diff, do a quick commit and a few more basic Git commands. It doesn't support every Git command, but it's a nice addition for those of you who are using Sublime Text 2. 

The Git plugin, just like Sublime Text 2, is cross-platform and easy to install too!


To install the Git plugin for Sublime Text 2 in Linux, make sure you've installed Git ("git-core" in Ubuntu) and then run the following commands in a terminal:
cd ~/.config/sublime-text-2/Packages/
git clone git://github.com/kemayo/sublime-text-2-git.git Git

Then restart Sublime Text 2 and you'll find the new Git plugin under Tools > Git.


For more info, Windows installation instructions, etc., see the Sublime Text 2 Git plugin wiki page.


If you use Ubuntu, check out our Sublime Text 2 PPA - constantly updated with the latest development builds.

0 comments

» read more....