Lazygit.nvim API Reference

Reference Lazygit.nvim Vim commands and Lua module functions for Git operations.

1|Updated Oct 26, 2025
One-click install
npx skills add https://github.com/NeKon69/nvim-dot --skill lazygit-nvim-api-reference
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Lazygit.nvim API Reference
Source: https://github.com/NeKon69/nvim-dot/tree/main/.agents/skills/lazygit.nvim
Command: npx skills add https://github.com/NeKon69/nvim-dot --skill lazygit-nvim-api-reference

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a quick reference for interacting with the Lazygit.nvim plugin, streamlining Git operations within Neovim.

Core Features & Use Cases

  • Command Index: Quickly find and use Neovim commands provided by Lazygit.nvim.
  • Module API Reference: Access Lua functions for programmatic Git control.
  • Use Case: You need to quickly stage all changes in your current file; you can look up the relevant command or function here and execute it.

Quick Start

Use the :LazyGit command to open the Lazygit interface.

Frequently Asked Questions about Lazygit.nvim API Reference

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Git repositories in Neovim using Lazygit?

The Lazygit.nvim plugin integrates Git repository management into Neovim by providing a visual interface. You can open it using the :LazyGit command to stage changes and review diffs.

Can I use Lua functions for programmatic Git control in Neovim?

Yes, you can use the Lazygit.nvim module API reference to find Lua functions for programmatic Git control. This enables you to execute repository management actions directly in your Neovim configuration.

What Neovim commands are available for the Lazygit plugin?

The Skill provides a command index for quickly finding Neovim commands supplied by Lazygit.nvim. The primary command is :LazyGit, which opens the interface for managing your repositories.

Do I need to understand Git command-line operations to use Lazygit in Neovim?

Yes, using Lazygit.nvim requires an understanding of Neovim plugin architecture and Git command-line operations. The plugin acts as a visual wrapper for underlying Git commands.

How do I quickly stage all changes in my current file with Lazygit?

You can look up the relevant command or Lua function in the Lazygit.nvim API reference to quickly stage all changes in your current file. You can then execute the found command directly in Neovim.