From b89e8c79e5823f1abf3a00c80aca36fbaea99b42 Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Sun, 30 Jun 2024 16:16:00 +0200 Subject: [PATCH] Add lazygit neovim integration --- home/.config/nvim/lua/plugs/lazygit.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 home/.config/nvim/lua/plugs/lazygit.lua diff --git a/home/.config/nvim/lua/plugs/lazygit.lua b/home/.config/nvim/lua/plugs/lazygit.lua new file mode 100644 index 0000000..27779e2 --- /dev/null +++ b/home/.config/nvim/lua/plugs/lazygit.lua @@ -0,0 +1,18 @@ +return { + "kdheepak/lazygit.nvim", + cmd = { + "LazyGit", + "LazyGitConfig", + "LazyGitCurrentFile", + "LazyGitFilter", + "LazyGitFilterCurrentFile", + }, + 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" } + } +}