From b3c3640a547e7b2f1ce04c844a99e4ce250af464 Mon Sep 17 00:00:00 2001 From: Nikita Bykov Date: Tue, 15 Jul 2025 19:02:26 +0500 Subject: [PATCH] added lazygit plugin for nvim --- .config/nvim/lua/user/plugins/lazygit.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .config/nvim/lua/user/plugins/lazygit.lua 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" } + } +}