Commit: d68aa5f90c1c4b665f7dfc1cc5d550d948de418d Parent: ae523aa9164f067d4e4b4c8d9ab34133bda32951 Author: Randy Palamar Date: Wed, 29 Mar 2023 08:19:30 -0600 add function to echo current key Diffstat:
M | vis-gpg.lua | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/vis-gpg.lua b/vis-gpg.lua @@ -70,4 +70,8 @@ local function encrypt(file) end vis.events.subscribe(vis.events.FILE_SAVE_PRE, encrypt) +vis:command_register("gpg-key", function() + vis:info("gpg-key: " .. gpg.key) +end, "Echo the currently set key ID") + return gpg