1
0
Fork
You've already forked gitstatus.nvim
0
Interactive Git status window in Neovim
  • Lua 99.8%
  • Makefile 0.2%
Mauritz Sjödin 9557766c8a
All checks were successful
/ ci (push) Successful in 34s
chore: update installation instructions
only show installation using vim.pack since it's what I'm using
I can't easily verify lazy and packer installation because I'm not using
them
2026年05月13日 23:15:08 +02:00
.forgejo/workflows chore: add forgejo ci workflow 2026年05月13日 22:44:05 +02:00
docs chore: make demo gif instead of mp4 2025年12月09日 18:34:08 +01:00
lua/gitstatus fix: resolve error when opening file with special characters 2026年05月05日 11:58:01 +02:00
plugin fix: remove things from old implementation 2025年04月09日 09:51:46 +02:00
test fix: resolve failing test and lint issue introduced in previous commit 2025年11月04日 09:31:20 +01:00
.editorconfig chore: update installation instructions 2026年05月13日 23:15:08 +02:00
.gitignore test: see test coverage with luacov 2025年04月11日 22:01:41 +02:00
.luacheckrc chore: update installation instructions 2026年05月13日 23:15:08 +02:00
.luacov test: see test coverage with luacov 2025年04月11日 22:01:41 +02:00
.luarc.json chore: update installation instructions 2026年05月13日 23:15:08 +02:00
.stylua.toml feat: add stylua formatter 2025年04月12日 08:17:16 +02:00
LICENSE Create LICENSE 2025年11月04日 13:02:33 +01:00
Makefile feat: support git submodules 2026年05月05日 11:13:39 +02:00
README.md chore: update installation instructions 2026年05月13日 23:15:08 +02:00

gitstatus.nvim

A Neovim plugin for managing Git from the editor. Shows an interactive status window with support for staging, unstaging, and committing files.

demo

Installation

vim.pack.add({
 'https://codeberg.org/mauritz/gitstatus.nvim',
 -- optional dependencies
 'https://github.com/nvim-tree/nvim-web-devicons', -- display filetype icons
 -- 'https://github.com/nvim-mini/mini.icons' -- use mini.icons instead if you prefer
 -- 'https://github.com/rcarriga/nvim-notify', -- show fancy notifications
})

Usage

Open the Git status window with :Gitstatus. For quick access, set up a mapping:

vim.keymap.set('n', '<leader>s', vim.cmd.Gitstatus)

While inside the Git status window:

  • s – Stage/unstage the file on the current line
  • a – Stage all changes
  • c – Open commit prompt
  • o - Open file on the current line
  • q – Close window