Use lazygit from within neovim.
{
'zachbuchli/lazygit.nvim',
config = function()
local lazygit = require 'lazygit'
-- example keymap
vim.keymap.set('n', '<leader>lg', lazygit.show)
end,
},
After installation, you can verify the install with :checkhealth lazygit
. The plugin also
registers the command :Lazygit
to display lazygit.