Add virtualenv ui selector
This commit is contained in:
parent
882c623385
commit
8ff9c94f8f
|
@ -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.
|
||||||
|
{ '<leader>vs', '<cmd>VenvSelect<cr>', desc = "[V]irtualenv [S]elect" },
|
||||||
|
-- Keymap to retrieve the venv from a cache (the one previously used for the same project directory).
|
||||||
|
{ '<leader>vc', '<cmd>VenvSelectCached<cr>', desc = "[V]irtualenv select [C]ached" },
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in New Issue