![]() ![]() ![]() Whether it's a recommended approach or not is a matter of personal preference. Now that was about how to configure and use the desired editor. Write your commit message, save the file (you can use keyboard shortcut Command S), and quit the editor. Sublime Text should be opened for you to enter the commit message. Now make sure that the editor is not running, go to the Terminal, change to the directory containing your repository, stage some changes, and run the commit command. Specified the path for the executable and not the app bundle.īackslash-escaped the space characters present in the path. Run the following command to do so: git config -global core.editor "/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text" Now, we'll use the executable's path above to set it as the editor for git command to use for writing commit message. Once installed, this should be the path of the Sublime Text.app bundle and the editors executable file respectively:Īpp bundle: /Applications/Sublime Text.appĮxecutable: /Applications/Sublime Text.app/Contents/MacOS/Sublime Text ![]() (Assuming that in case 1, you have copied the Sublime Text.app bundle into the /Applications folder as instructed). Once you have the app installed, it should be available under /Applications directory on your Mac. If you use Homebrew, you can install it via Homebrew Cask by running the following command-line in Terminal.app in macOS: You can install it using either of the following:ĭownload it from the official website from the download page. Start by making sure you have Sublime Text for macOS installed on your computer. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |