From 196f613a08090031f851d13a40b57dd1cee22ef9 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 9 Dec 2022 22:56:17 +0100 Subject: Add ultisnips snippets for neovim .config/nvim/UltiSnips/: Add mail and text file ultisnips snippets for the use with neovim. --- .config/nvim/UltiSnips/mail.snippets | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .config/nvim/UltiSnips/mail.snippets (limited to '.config/nvim/UltiSnips/mail.snippets') diff --git a/.config/nvim/UltiSnips/mail.snippets b/.config/nvim/UltiSnips/mail.snippets new file mode 100644 index 0000000..3fceb03 --- /dev/null +++ b/.config/nvim/UltiSnips/mail.snippets @@ -0,0 +1,33 @@ +snippet validate_pgp_key "A mail to verify a PGP key" b +Hi ${1: Name}, + +Please clear-sign [1] the attached `token.txt` file using the mentioned root +key (not any of its subkeys) and send the resulting file to: + +David Runge + +To clearsign the file, use + +\`\`\` +gpg --armor --default-key ${2: PGP KEY ID}! --clearsign token.txt +\`\`\` + +If your root key does not provide the Signature capability (S), make sure to +toggle it on temporarily: + +\`\`\` +gpg --edit-key $2 + +change-usage + +S + +save +\`\`\` + +Best, +David + +[1] https://www.gnupg.org/gph/en/manual/x135.html + +endsnippet -- cgit v1.2.3-70-g09d2