Setup

TextEdit

Not checked yet

TextEdit is on every Mac and opens instantly. With three changes it becomes a good plain-text scratchpad.

Plain text by default

TextEditSettingsNew Document
FormatPlain text
Plain text fontany font you find easy to read

Rich text adds invisible formatting that follows your words into every place you paste them. Plain text is only the characters. You can still make one document rich with Format → Make Rich Text.

Show HTML as code

TextEditSettingsOpen and Save
Display HTML files as HTML code instead of formatted text

Otherwise opening an .html file shows a rough rendering of the page, and saving it rewrites your markup.

Start with an empty document, saved on the Mac

By default TextEdit opens with a file picker pointed at iCloud. These two commands make it open a new empty document, and make new documents save to the Mac unless you choose otherwise. iCloud stays switched on.

defaults write -g NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false

Paste them into Terminal. Both apply to every app that saves documents, not only TextEdit.