diff --git a/nvim/lua/serxoz/packer.lua b/nvim/lua/serxoz/packer.lua index 8edb024..6e5c6e6 100644 --- a/nvim/lua/serxoz/packer.lua +++ b/nvim/lua/serxoz/packer.lua @@ -33,7 +33,13 @@ return require('packer').startup(function(use) use("theprimeagen/harpoon") use("theprimeagen/refactoring.nvim") use("mbbill/undotree") - use("tpope/vim-fugitive") + use({ + "kdheepak/lazygit.nvim", + -- optional for floating window border decoration + requires = { + "nvim-lua/plenary.nvim", + }, + }) use("nvim-treesitter/nvim-treesitter-context"); use { diff --git a/nvim/lua/serxoz/remap.lua b/nvim/lua/serxoz/remap.lua index 41aaa82..96ff280 100644 --- a/nvim/lua/serxoz/remap.lua +++ b/nvim/lua/serxoz/remap.lua @@ -57,3 +57,6 @@ vim.keymap.set("n", "tk", ":bnext") vim.keymap.set("n", "tj", ":bprev") vim.keymap.set("n", "th", ":bfirst") vim.keymap.set("n", "tl", ":blast") + +-- Lazygit +vim.keymap.set("n", "gg", ":LazyGit")