A Neovim plugin to open remote Git repositories with ephemeral shallow clones, providing a GitHub.dev-like experience directly in your editor.
git-dev.nvim is a Neovim plugin that enables developers to open and edit remote Git repositories directly within Neovim. It solves the problem of quickly browsing and editing code from platforms like GitHub without cloning repositories permanently, by managing ephemeral shallow clones automatically.
Neovim users who frequently browse and edit code from remote Git repositories and want a seamless, editor-integrated experience similar to GitHub.dev.
Developers choose git-dev.nvim because it combines the convenience of web-based code editors with the full power of Neovim, offering ephemeral clones, deep editor integration, and flexible URL parsing without leaving their development environment.
Open remote git repositories in the comfort of Neovim.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Automatically cleans up shallow clones on Neovim exit, as highlighted in the ephemeral feature, ensuring no leftover repository data clutters the system.
Seamlessly works with LSP, tree-sitter, and file explorers like nvim-tree, allowing full use of Neovim's editing capabilities while browsing remote code.
Parses browser URLs from GitHub, GitLab, Gitea, and Codeberg to open specific files and references, detailed in the URL parsing section with examples for direct file access.
Offers extensive configuration options, such as custom opener functions, picker support, and extra domain parsers, shown in the options and recipes for tailored workflows.
Parsing blob URLs requires invoking Git commands to list references, which can be slow for repositories with many branches or tags, as admitted in the limitations section.
Relies on external tools like xdg-mime and xdg-open, and the desktop entry may fail on some systems, requiring manual script adjustments as noted in the setup notes.
Sets buffers to read-only by default, which can hinder immediate editing unless users reconfigure options, adding friction for quick code modifications.
git-dev.nvim is an open-source alternative to the following products: