Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

sops.nvim

Edit SOPS encrypted files in a Neovim floating window. Files are decrypted on open and re-encrypted on save.

Requirements

  • Neovim 0.9+
  • The sops binary in your $PATH
  • A working encryption/decryption key (age, PGP, or cloud KMS) configured via .sops.yaml

Installation

{
  "jmpTeixeira02/sops.nvim",
  cmd = "SopsEdit",
  keys = {
    { "<leader>se", "<cmd>SopsEdit<cr>", desc = "Edit SOPS File" },
  },
}

Usage

Run :SopsEdit to edit the current file or pass a specific path:

:SopsEdit
:SopsEdit path/to/secrets.yaml

Features inside the decrypted buffer:

  • Filetype detection matching the source file extension.
  • Save natively (:w) to re-encrypt and write to disk.
  • Press q to quit (prompts to save if modified).
  • Prompt handling on window unload/close.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages