TextEdit was designed to be a rich text editor.
What is the default text editor for mac. A user may have specified any application as a default application for txt files. That information is stored in the Launch Services database at SystemLibraryFrameworksCoreServicesframeworkFrameworksLaunchServicesfra meworkVersionsASupportlsregister. Choose Sublime Text from the pulldown menu and close the box.
I did this for setting sublime as the default text editor in git gitconfig but need a similar command for android-studio. Naturally many Mac users sooner or later look for an alternative and they often stumble upon Notepad. I also tried variations of the above such as export.
TextEdit is the default text editor in macOS and its just as barebones as the default text editor in Windows Notepad. Under that is a text box with TextEdit in it. Click on the textbox and youll see a list of applications.
Through Homebrew then you would know what they are since you installed them. There is no default text editor. BenRacicot The editors installed by default on macOS are nano vivim and ed a very basic line-editor.
Nano is a simple text editor and it makes a great choice for beginners or anyone who prefers a simpler text editor when working with git. By default this is you guessed it TextEdit unless you explicitly specify otherwise. To edit a plain text file in Terminal you can use a command-line text editor.
You can set git to use the nano text editor with a single command. Plain text mode is not the default mode in TextEdit on your Mac. For general-purpose work its easiest to use one of the text editors included with macOS.