From 6fe552e3dc6d8da363b82d6e45476eccd5134627 Mon Sep 17 00:00:00 2001 From: hakase Date: Thu, 5 Sep 2024 08:03:12 -0500 Subject: [PATCH] feat: add lazygit --- lua/plugins/init.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index a978274..78f5eba 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -137,4 +137,23 @@ return { opts = {} }, + { + "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" } + } + }, }