2023-08-01 20:45:09 -03:00
|
|
|
return {
|
|
|
|
"kdheepak/lazygit.nvim",
|
|
|
|
-- optional for floating window border decoration
|
|
|
|
dependencies = {
|
|
|
|
"nvim-lua/plenary.nvim",
|
|
|
|
},
|
2023-08-01 20:53:36 -03:00
|
|
|
config = function()
|
|
|
|
vim.g.lazygit_floating_window_scaling_factor = 0.8
|
|
|
|
vim.keymap.set("n", "<leader>gg", "<cmd>LazyGit<CR>")
|
|
|
|
require("telescope").load_extension("lazygit")
|
|
|
|
vim.keymap.set("n", "<leader>gt", ":lua require('telescope').extensions.lazygit.lazygit()<CR>")
|
|
|
|
end
|
2023-08-01 20:45:09 -03:00
|
|
|
}
|