feat(nvim): install nvim-sops plugin
This commit is contained in:
parent
3033a08b6a
commit
eb07eb998f
2 changed files with 9 additions and 0 deletions
|
@ -111,6 +111,11 @@ in
|
|||
type = "lua";
|
||||
config = ( builtins.readFile ./files/nvim-lint.lua);
|
||||
}
|
||||
{
|
||||
plugin = nvim-sops;
|
||||
type = "lua";
|
||||
config = (builtins.readFile ./files/nvim-sops.lua);
|
||||
}
|
||||
plenary-nvim
|
||||
{
|
||||
plugin = (nvim-treesitter.withPlugins (p: [
|
||||
|
|
4
modules/home-manager/cli/neovim/files/nvim-sops.lua
Normal file
4
modules/home-manager/cli/neovim/files/nvim-sops.lua
Normal file
|
@ -0,0 +1,4 @@
|
|||
require('nvim_sops').setup {}
|
||||
|
||||
vim.keymap.set("n", "<leader>se", vim.cmd.SopsEncrypt, { desc = "Sops: [E]ncrypt file" })
|
||||
vim.keymap.set("n", "<leader>sd", vim.cmd.SopsDecrypt, { desc = "Sops: [D]ecrypt file" })
|
Loading…
Add table
Add a link
Reference in a new issue