Switch between repositories with ease
Access your local repositories within neovim
This extension depends on repo. You can install relevant binary for your platform.
It provides a list of repositories to switch between.
-- lazy.nvim
{
'nvim-telescope/telescope.nvim',
dependencies = {
'nvim-lua/plenary.nvim',
'mohitsinghs/repo.nvim',
},
config = function()
-- telescope configs
require'telescope'.load_extension'repo'
-- other telescope configs
end,
}
It provides a tree of repositories to switch between.
{
"nvim-neo-tree/neo-tree.nvim",
branch = "v2.x",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons",
"MunifTanjim/nui.nvim",
'mohitsinghs/repo.nvim',
},
config = function()
require('neotree').setup({
-- neotree config
sources = {
-- other sources
"repo",
},
-- other neotree configs
})
end
}
:Telescope repo
- Lists all available repositories in telescope.:Neotree focus repo
- focus on tree of repositories in neo-tree sidebar
See repo