On Fri, 29 Apr 2022, David G. Johnston wrote:
You type "insert", realize you want an editor for this, hit enter (multi-line mode is psql), type \e, hit enter again, your editor appears with "insert" already in place from the query buffer. Upon returning you are given a new buffer with the contents of whatever you typed into the editor pasted in.
Thank you, David. Rich