980decde89b6b064f32ca4bc8f850d0d84dfa7b8
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
lazysecrets.nvim
Brings lazysecrets to Neovim.
Features
- Prioritizes showing the secrets in the repo you are in
- The lazysecrets session stays alive for the whole nvim session
eon a file in lazysecrets will open it in your current nvim session- Follows the
:colorschemeyou have set in nvim
Requirements
Needs Neovim 0.11 or later and lazysecrets on your PATH. No other
plugins.
Install
With vim.pack (Neovim 0.12):
vim.pack.add({ "https://git.kebcloud.no/keb/lazysecrets.nvim" })
vim.keymap.set("n", "<leader>ls", function() require("lazysecrets").open() end, { desc = "lazysecrets" })
With lazy.nvim:
{
url = "https://git.kebcloud.no/keb/lazysecrets.nvim",
name = "lazysecrets.nvim",
opts = {},
cmd = "Lazysecrets",
keys = { { "<leader>ls", function() require("lazysecrets").open() end, desc = "lazysecrets" } },
}
Use
:Lazysecretsopens it;:Lazysecrets <link>opens alazysecrets://link, Key Vault URL or reference.require("lazysecrets").open({ args = { ... }, cwd = ..., win = { ... } })does the same from Lua.
Options
setup() is only needed to change these. The defaults:
require("lazysecrets").setup({
cmd = "lazysecrets",
-- The floating window: fractions of the editor, and its border.
win = { width = 0.9, height = 0.9, border = "rounded" },
-- Where the generated theme is written.
theme_path = vim.fn.stdpath("cache") .. "/lazysecrets-theme.yaml",
-- lazysecrets theme roles from highlight groups, e.g.
-- theme = { activeBorderColor = { fg = "MatchParen", bold = true } },
})
See lua/lazysecrets/init.lua for every theme role and its default.
AI disclosure
Built with help from an agentic coding assistant. Every change is requested, reviewed and tested by me before it's merged.
License
Copyright © 2026 Karl-Einar Bergstrøm.
lazysecrets is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See LICENSE.
Description
Neovim plugin for lazysecrets
https://github.com/karleinarb/lazysecrets.nvim
Readme
GPL-3.0
74 KiB
0 Stars
0 Watchers
0 Forks
Languages
Lua
100%