From be1bcff52d1061097224dca987a34da173538af2 Mon Sep 17 00:00:00 2001 From: Lucas Barbieri Date: Tue, 1 Aug 2023 20:53:36 -0300 Subject: [PATCH] add little basic config its so nice being able to do descriptions --- lua/custom/plugins/lazygit.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lua/custom/plugins/lazygit.lua b/lua/custom/plugins/lazygit.lua index 843ae3a..aed19c5 100644 --- a/lua/custom/plugins/lazygit.lua +++ b/lua/custom/plugins/lazygit.lua @@ -4,4 +4,10 @@ return { dependencies = { "nvim-lua/plenary.nvim", }, + config = function() + vim.g.lazygit_floating_window_scaling_factor = 0.8 + vim.keymap.set("n", "gg", "LazyGit") + require("telescope").load_extension("lazygit") + vim.keymap.set("n", "gt", ":lua require('telescope').extensions.lazygit.lazygit()") + end }