sublime text 3 command line code example
Example 1: connecting sublime to bash command line
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl
Example 2: connecting sublime to bash command line
export EDITOR='subl -w'
Example 3: sublime text 3 terminal
// Sublime Text 3 - osx
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/.