Skip to content

Neovim plugin to switch between repositories with ease

License

Notifications You must be signed in to change notification settings

mohitsinghs/repo.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

repo.nvim

Switch between repositories with ease
Access your local repositories within neovim

Tests LICENSE

Installations

This extension depends on repo. You can install relevant binary for your platform.

With Telescope

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,
}

With Neotree

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
}

Usage

  • :Telescope repo - Lists all available repositories in telescope.
  • :Neotree focus repo - focus on tree of repositories in neo-tree sidebar

Configuration

See repo

About

Neovim plugin to switch between repositories with ease

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages