Every time I need to reinstall my Mac, which has happened more often than I would have guessed, there are certain terminal commands I need to look up.
Open new document when launching TextEdit
TextEdit is a great text editor for jotting down quick bits of text (until they make Drafts for macOS). To start this behavior.
defaults write com.apple.TextEdit NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false
To revert to the default behavior of opening with a window asking which file to open, type this into terminal.
defaults delete com.apple.TextEdit NSShowAppCentricOpenPanelInsteadOfUntitledFile
Save as PDF with ⌘P
In System Preferences, select Keyboard and then Shortcuts. Select “App Shortcuts” from the side panel and click the “+” to add one to All Applications.
Then type “Save as PDF…” using not three periods but an ellipse (option + semi-colon) in the Menu Title box. Press command-P in the Keyboard Shortcut box, click Add and you’re done.
And now in any application in which you can print, if you press ⌘P twice in rapid succession you get a Save as PDF… dialog box.