Bash script to edit contents of your clipboard with $EDITOR on macOS
gist.github.com