Periodic reminder that many emacs-like keybindings exist in almost every text field in macOS: Ctrl A, E, P, N, K, Y, T, and probably others I'm forgetting (start of line, end of line, previous line, next line, kill (delete everything to the end of the line and put it in a special pasteboard), yank (paste from that special pasteboard) and transpose characters).
Edit: more complete list here: https://jblevins.org/log/kbd
Edit 2: can't believe I forgot Ctrl-D, which is forward delete.