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. 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 Why Sublime Text When you use a suitable Text editor, you can enjoy its rich beneficial features. The current version of Sublime Text editor is 3.0 and is compatible with various operating systems like Windows, Linux and MacOS. 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). Sublime Text editor is used as an Integrated Development Editor (IDE) like Visual Studio code and NetBeans.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |