[2013–11–23] Setting up Sublime Text 3 from the Command Line
Feb 25, 2021
To make Sublime Text available via the command line argument subl
use:
sudo ln -s “/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl” /usr/bin/subl
Then to use your editor as the default for git commits and such, enter:
git config — global core.editor “sub — wait”