From c1b9448e814cadcb7c610815ff0ef8a5373221de Mon Sep 17 00:00:00 2001 From: serxoz Date: Thu, 29 Aug 2024 21:36:22 +0200 Subject: [PATCH] cambio fugitive por lazyvim --- nvim/lua/serxoz/packer.lua | 8 +++++++- nvim/lua/serxoz/remap.lua | 3 +++ 2 files changed, 10 insertions(+), 1 deletion(-) 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")