nvim-config/lua/plugins/lazygit.lua
Kiril ca3a037ba5 Add lazygit integration
When <leader>lg is pressed, it runs lazygit overtop Neovim.
2024-05-19 14:03:30 +01:00

21 lines
555 B
Lua

-- nvim v0.8.0
return {
"kdheepak/lazygit.nvim",
cmd = {
"LazyGit",
"LazyGitConfig",
"LazyGitCurrentFile",
"LazyGitFilter",
"LazyGitFilterCurrentFile",
},
-- optional for floating window border decoration
dependencies = {
"nvim-lua/plenary.nvim",
},
-- setting the keybinding for LazyGit with 'keys' is recommended in
-- order to load the plugin when the command is run for the first time
keys = {
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" },
},
}