diff --git a/config/nvim/lua/plugins/git.lua b/config/nvim/lua/plugins/git.lua index 7ffc772..ddc8bf0 100644 --- a/config/nvim/lua/plugins/git.lua +++ b/config/nvim/lua/plugins/git.lua @@ -225,4 +225,22 @@ return { }, }, }, + { + "lewis6991/gitsigns.nvim", + event = "VeryLazy", + opts = { + signs = { + add = { text = "│" }, + change = { text = "│" }, + delete = { text = "_" }, + topdelete = { text = "‾" }, + changedelete = { text = "│" }, + }, + }, + keys = { + { "]g", "Gitsigns next_hunk", desc = "Next git hunk" }, + { "[g", "Gitsigns prev_hunk", desc = "Previous git hunk" }, + { "gB", "Gitsigns toggle_current_line_blame", desc = "Toggle line blame" }, + }, + }, }