feat: Add a plugin for sops
This commit is contained in:
parent
0ed4040bb0
commit
95fa3ca72c
1 changed files with 21 additions and 0 deletions
21
lua/plugins/sops.lua
Normal file
21
lua/plugins/sops.lua
Normal 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"
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue