Member-only story
Neovim for Beginners — Source Code Control
Explore plugins for source code control and other interesting plugins.
There are dozens of plugins available for version control using Git. In this article, let’s explore those plugins, and other interesting plugins related to Git.
This article is part of the Neovim for Beginners series.
The Neovim configuration files can be found in this repository.
Version Control
fugitive.vim
fugitive.vim
is one of the widely used Vim/Neovim plugins for Git.
This plugin allows us to call any arbitrary Git command. If we know how to use Git at the command line, we know how to use
:Git
. It's vaguely akin to:!git
but with numerous improvements.
vim-merginal
is afugitive.nvim
extension to provide an interactive TUI for dealing with Git branches.Flog
is a lightweight and powerful git branch viewer that integrates withfugitive
.
git.nvim
is a simple clone of vim-fugitive developed in Lua.
Neogit
Magit is a widely used Emacs Git package, and Neogit is a Magit clone for Neovim that is geared toward the Vim philosophy.
For those who prefer a more user-friendly interface, we can use Neogit together with fugitive.vim
. These 2 plugins combined provide a pleasant working experience working with Git.
Tip:
vimagit
is another similar plugin you can try.
VGit
vgit.nvim
is a Git plugin that provides a visual Git experience in Neovim. It wraps most Git commands and lets us visually view, manage and commit…