Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
FREELessons:34Length:2.5 hours

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

2.8 Installing Plugins Without Package Control

There will be plenty of times where you need to view the packages in you project, and there's a couple different ways to do this. One, you could manually browse to the projects folder. Two, you could go to sublime preferences, browse packages, and that's going to open that specific packages directory within finder, and now you can see every plugin that you install through package control. Will be contained here. Another way would be to create something like an alias, and add it to your bash profile. On the Mac the path to the packages directory is within Library/Application Support/Sublime Text 2/Packages. So if we wanna save this to an alias, we can alias p for packages. Name it whatever you want, and that will be equal to, once again, open and then I will paste in that path. So now, whenever you need to view your Packages directory, you just type P or whatever alias you assign to it, and now that's open. So if you ever come across a plugin that you want to install and it's not available through Package Control. Likely it will be on Get Hub and it will tell you add this to your packages directory. So you bring up the terminal, you type p to open the packages directory, and then you will drag in the folder. Alternatively, what you would do, would be to browse to the packages directory and then clone the repo, let me give you an example. Here is an in development plugin for sublime text called sublime [UNKNOWN]. When this is done this is going to be fantastic, so I highly recommend you keep an eye on it. But it's still, at the time of this recording very early in development. But If I want to test this out, it's not available through package control. So what I could do is clone it into my packages directory. So assuming I have git installed, if you don't that's a whole nother course that we have on touch premium. Called Git Essentials. But assuming that you do have it, then I could just copy this and then browse to the Packages directory, Sublime Packages, and now I will run git clone and we're gonna call that folder SublimeXiki like that. So now, if I open this directory, you'll see that we have downloaded that folder directly into the Packages directory. And if you want a quick, 30 second demonstration on what Ziki can do for you. If I open this up, I can say, Create the Ziki Buffer, and then you'll be able to do things like, let's go into /Users/Jeffrey/Sites, I hit Cmd+Enter, and now it's displaying a list of all of my folders. So it's a bash replacement that's going to be ridiculously powerful. So now you can see within Sublime Text, I am traversing these folders. So if I wanna open up the htaccess, one more time, Cmd+Enter, now I'm editing that file, and that's about .1% of everything that Ziki is capable of. So, certainly keep that on your radar.

Back to the top