Comment

Comment by guiraldelli

I have a similar work-flow, but I made a shell function for that (an "alias") called `email`:

    email ()
    {
        export TMP_EMAIL_FILE=$(mktemp -t email_XXXXXXXXXX.eml) && vim -c 'set filetype=mail' -c 'set tw=72' -c 'set spell' "${TMP_EMAIL_FILE}" && {
            cat "${TMP_EMAIL_FILE}" | xsel -ib
        }
    }
Feel free to copy, use and modify it. :)
parent guiraldelli 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton