diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 75a0a23..a8047e1 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -12,11 +12,4 @@ return { end, ft = { 'markdown' }, }, - - { - 'akinsho/toggleterm.nvim', - version = '*', - opts = {--[[ things you want to change go here]] - }, - }, } diff --git a/lua/custom/plugins/lazygit.lua b/lua/custom/plugins/lazygit.lua new file mode 100644 index 0000000..911d71c --- /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 = { + { 'gg', 'LazyGit', desc = 'LazyGit' }, + }, +}