diff --git a/.config/nvim/lua/user/plugins/lazygit.lua b/.config/nvim/lua/user/plugins/lazygit.lua new file mode 100644 index 0000000..f501303 --- /dev/null +++ b/.config/nvim/lua/user/plugins/lazygit.lua @@ -0,0 +1,21 @@ +return { + "kdheepak/lazygit.nvim", + lazy = true, + event = "VeryLazy", + 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 = { + { "lg", "LazyGit", desc = "LazyGit" } + } +}