https://github.com/oncomouse/lazygit.nvim
Really simple lazygit integration for Neovim
https://github.com/oncomouse/lazygit.nvim
Last synced: 2 months ago
JSON representation
Really simple lazygit integration for Neovim
- Host: GitHub
- URL: https://github.com/oncomouse/lazygit.nvim
- Owner: oncomouse
- Created: 2023-02-08T19:48:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-09T18:02:42.000Z (over 3 years ago)
- Last Synced: 2026-01-01T20:21:05.076Z (6 months ago)
- Language: Lua
- Size: 2.93 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
This plugin for [Neovim](https://github.com/neovim/neovim) opens [lazygit](https://github.com/jesseduffield/lazygit) in a new tab. Press `q` in that tab will close lazygit.
I use this in place of any more vim-y git integrations.
You can trigger it as a command, via `:LazyGit` or by binding to the `` binding, `(lazygit.nvim)`, like so:
```
vim.keymap.set("n", "lg", "(lazygit.nvim)")
```
## Installation
With [lazy.nvim](https://github.com/folke/lazy.nvim):
~~~
{
"oncomouse/lazygit.nvim",
cmd = "LazyGit",
keys = { "(lazygit.nvim)" },
}
~~~
With [packer.nvim](https://github.com/wbthomason/packer.nvim):
~~~
use({
"oncomouse/lazygit.nvim",
cmd = "LazyGit",
keys = { "(lazygit.nvim)" },
})
~~~