Member-only story

Neovim for Beginners — Source Code Control

Explore plugins for source code control and other interesting plugins.

6 min readJun 18, 2022

--

Neovim for Beginners — Source Code Control

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.

fugitive.vim
  • vim-merginal is a fugitive.nvim extension to provide an interactive TUI for dealing with Git branches.
  • Flog is a lightweight and powerful git branch viewer that integrates with fugitive.
Flog

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.

Neogit

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…

--

--

alpha2phi
alpha2phi

Written by alpha2phi

Software engineer, Data Science and ML practitioner.

Responses (1)