A Neovim plugin for managing environment variables with project-specific and persistence.
- 🛠️ Declare persistence environment variables during setup
- 🗂️ Project-specific overrides stored in
.idea/.nvim_env
- 🔄 Automatic loading of variables on Neovim startup
- 📂 Auto-reload when changing project directories
- 💻 Simple commands for variable management
Using Lazy.nvim:
{
"github.com/Alexandersfg4/environment.nvim",
config = function()
require('environment').setup({
variables = {
-- Your default variables here
API_KEY = "default_value",
ENV = "development"
}
})
end
}
Redeclare a project-specific environment variable
:EnvSet API_KEY=production_123456
Display all configured environment variables with their current values
API_KEY=production_123456
ENVIRONMENT=development
PORT=3000