Want to use PGP, or better even, GnuPG, for use with elm? That can be done. It's not most trivial, because elm is not maintained anymore...
Install the reader morePGP and, if you like it, their mailpgp as well. I did not like the latter, it adds another layer of operations.
Make a script with a name such as
.vim-mail in your homedir, say
It should contain at least these two lines:
map ^E :1,$!gpg --armor --sign --encrypt 2>/dev/null^M^L map ^Y :1,$!gpg --clearsign 2>/dev/null^M^LNote that all
^signs represent control signs; you should type
ctrl-Vfirst, then the appropriate ctrl-key combination.
elm to invoke your editor with these modified settings, by setting this in
easyeditor = vim -c 'so /home/db/vanrein/.vim-mail' editor = vim -c 'so /home/db/vanrein/.vim-mail'These commands read the aforementioned file with mail settings.