feat: Add a plugin for sops

This commit is contained in:
kalmenn 2025-06-18 16:04:31 +02:00
parent 0ed4040bb0
commit 95fa3ca72c
Signed by: kalmenn
GPG key ID: F500055C44BC3834

21
lua/plugins/sops.lua Normal file
View file

@ -0,0 +1,21 @@
return {
"lemarsu/sops.nvim",
lazy = true,
keys = {
{
"<leader>st",
"<cmd>Sops toggle<cr>",
desc = "Toggle sops editing for the current file"
},
{
"<leader>sd",
"<cmd>Sops decrypt<cr>",
desc = "Decrypt the current file using sops"
},
{
"<leader>se",
"<cmd>Sops encrypt<cr>",
desc = "Encrypt the current file using sops"
},
},
}