diff --git a/lua/custom/plugins/venv-selector.lua b/lua/custom/plugins/venv-selector.lua new file mode 100644 index 00000000..ade00fb0 --- /dev/null +++ b/lua/custom/plugins/venv-selector.lua @@ -0,0 +1,16 @@ +return { + 'linux-cultist/venv-selector.nvim', + dependencies = { 'neovim/nvim-lspconfig', 'nvim-telescope/telescope.nvim', 'mfussenegger/nvim-dap-python' }, + opts = { + -- Your options go here + -- name = "venv", + -- auto_refresh = false + }, + event = 'VeryLazy', -- Optional: needed only if you want to type `:VenvSelect` without a keymapping + keys = { + -- Keymap to open VenvSelector to pick a venv. + { 'vs', 'VenvSelect', desc = "[V]irtualenv [S]elect" }, + -- Keymap to retrieve the venv from a cache (the one previously used for the same project directory). + { 'vc', 'VenvSelectCached', desc = "[V]irtualenv select [C]ached" }, + }, +} \ No newline at end of file