Skip to content

Instantly share code, notes, and snippets.

@Arqentum
Last active May 9, 2024 18:23
Show Gist options
  • Select an option

  • Save Arqentum/e8d20b7af479f7759c5aed256c247a3e to your computer and use it in GitHub Desktop.

Select an option

Save Arqentum/e8d20b7af479f7759c5aed256c247a3e to your computer and use it in GitHub Desktop.
#Sublime set alias and fix #Git commit editor
# 1) Run in Terminal:
# This adds a subl alias to /usr/local/bin/ pointing to Sublime Text 3 app’s binary file.
# Now running subl in Terminal will launch Sublime Text 3 app.
sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
# 2) Run in Terminal:
git config --global core.editor "subl -n -w"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment