added lazygit plugin, removed toggleterm

lazygit added much easier via dedicated plugin versus hacking it with
toggleterm. Already using TMUX so didn't make sense to use toggleterm as
well.
This commit is contained in:
Alexander Muszynski
2024-09-26 11:57:41 -04:00
parent a3d963d174
commit e7141465b1
2 changed files with 19 additions and 7 deletions
+19
View File
@@ -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 = {
{ '<leader>gg', '<cmd>LazyGit<cr>', desc = 'LazyGit' },
},
}