From 5c8a0ae3bfa27925371963b09c481fc1cfd56dac Mon Sep 17 00:00:00 2001 From: Mohammad Moosazadeh Date: Sat, 1 Jun 2024 22:47:24 -0400 Subject: [PATCH] Add lazygit plugin --- lua/custom/plugins/lazygit.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lua/custom/plugins/lazygit.lua diff --git a/lua/custom/plugins/lazygit.lua b/lua/custom/plugins/lazygit.lua new file mode 100644 index 00000000..f0bbd383 --- /dev/null +++ b/lua/custom/plugins/lazygit.lua @@ -0,0 +1,19 @@ +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 = { + { 'lg', 'LazyGit', desc = 'LazyGit' }, + }, +}