Last Updated: February 25, 2016
·
1.132K
· xivsolutions

Setting Sublime Text as the Default Editor for Git (Linux Mint/Ubuntu)

Setting up Sublime Text 2 (or the new Beta Release of version 3) as the default editor used by Git is not overly challenging, but not necessarily obvious either. Really, we're still simply setting up the .gitconfig file with a path to sublime text. However, given that there is not, presently, a standard installation directory for Sublime Text, we first need to know where to point our .gitconfig file. Also, there are some non-obvious flags which need to be set as part of the configuration, or Sublime Text will not work properly as the Git editor.

Setting Sublime Text as the Default Editor for Git-Linux Mint and Ubuntu