Installation The easiest way to install anaconda is using Package Control for SublimeText 3, in case that you don't have installed Package Control already, just follow the installation guide in the. To new at using zsh to know whats correct or not. To use anaconda you need to have installed Sublime Text 3 first, you can download it from it's official website in case that you didn't already. subl3 yourFileHere.txt Dont know about the alias. In that case it works best if I show the terminal window below the text editor. I however use it only to automatically run unit tests when the edited program code changes. Sublime Text includes a command line tool, subl, to work with files on the command line.This can be used to open files and projects in Sublime Text, as well working as an EDITOR for unix tools, such as git and subversion.
desktop file at the TryExec line that will you how to call the program from your terminal. The terminal windows has a few flaws (at least on macOS) as it seems to conflict with Sublime's keyboard shortcuts. Step 4 : Reload your bash_profile : $ source ~/.bash_profileĭone ! You can now navigate to any of your code/script folders in Terminal and open them in Sublime with the following commands : sublime. What happens if you use subl3 Look in your Sublime Test 3. Step 3 : Add both these lines in if they’re not already in here & then save the file : alias sublime="open -a /Applications/Sublime\ Text.app" Step 2 : Check that your system profile can find the symlink you just created. Step 1 : Create a symlink called sublime $ ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/sublime Here’s a quick way to launch your files/folders from Terminal in Sublime.Īssuming you’ve installed Sublime Text 3 correctly on your Mac, this following command should open the app from Terminal : $ open /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl I find myself relying more and more on Sublime Text for my coding needs and as such I’m always on the lookout for a shortcut for my everyday Mac needs (as you guys know from my AppleScript shortcuts a while back).