Gitsigns.nvim is a plugin for Neovim, a text editor used by programmers, that shows Git change information directly inside the editor while you work on code. Git is the version control system that tracks changes to files over time. This plugin reads the Git history of whatever file you have open and displays small indicators in a column on the left side of the screen showing which lines were added, changed, or deleted compared to the last committed version. Beyond those visual indicators, the plugin lets you act on individual hunks, which are contiguous blocks of changes within a file. You can stage a hunk (mark it to be included in the next commit), reset it back to the last committed state, or preview what changed in a small popup window, all without leaving the editor. These actions also work on selections within a hunk, so you can stage only part of the changed block. The blame feature shows who last changed each line and when. It can display this information in a popup for a single line or show it inline at the end of every line as you move through a file. This is useful when you need to understand the history of a specific piece of code without switching to a terminal. The plugin also integrates with Neovim's status line so you can show a count of added, changed, and deleted lines in your editor's footer. It can open a quickfix list of all changes across the whole repository, making it easy to jump between modified locations. Installation uses whichever Neovim plugin manager you already have. No setup is required to get the basic indicators working, configuration is optional and done through a Lua setup call. The plugin requires Neovim version 0.9.0 or later and a reasonably recent version of Git. It is MIT licensed.
← lewis6991 on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.